Class DefaultMetricNamingStrategy

  • All Implemented Interfaces:
    org.springframework.jmx.export.naming.ObjectNamingStrategy

    public class DefaultMetricNamingStrategy
    extends Object
    implements org.springframework.jmx.export.naming.ObjectNamingStrategy
    MBean naming strategy for metric keys. A metric name of counter.foo.bar.spam translates to an object name with type=counter, name=foo and value=bar.spam. This results in a more or less pleasing view with no tweaks in jconsole or jvisualvm. The domain is copied from the input key and the type in the input key is discarded.
    Since:
    1.3.0