@Target(value=METHOD) @Retention(value=RUNTIME) public @interface MetricsValue
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
.
public static final String DEFAULT
@DescriptorKey(value="metrics.value") public abstract String value