Annotation Interface MetricsValue


@Target(METHOD) @Retention(RUNTIME) public @interface MetricsValue
The MetricsValue descriptor annotation adds a metrics.value field and its value to the descriptor for a method on an MBean. The existence of this annotation on an MBean attribute indicates that the MBean attribute is mapped to a metrics value with the metrics name being value(). By default, an MBean attribute is not mapped to a metrics value or MetricsTag.

This annotation is only allowed to be put on MBean attribute type's of numeric primitives or numeric classes deriving from Number. Map non-numerics MBean attribute types to MetricsTag.

Since:
12.2.1.4.0
Author:
jf 9.27.2018
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String