Annotation Type MetricsValue
-
@Target(METHOD) @Retention(RUNTIME) public @interface MetricsValue
The MetricsValue descriptor annotation adds a metrics.value field and its value to thedescriptor
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 beingvalue()
. By default, an MBean attribute is not mapped to a metrics value orMetricsTag
.This annotation is only allowed to be put on
MBean attribute type's
of numeric primitives or numeric classes deriving fromNumber
. Map non-numerics MBean attribute types toMetricsTag
.- Since:
- 12.2.1.4.0
- Author:
- jf 9.27.2018
-
-
Field Detail
-
DEFAULT
static final String DEFAULT
-
-
-
DESCRIPTOR_KEY
static final String DESCRIPTOR_KEY
-
-
Element Detail
-
value
@DescriptorKey("metrics.value") String value
- Default:
- "_default"
-
-