Annotation Interface Metrics.Gauge
- Enclosing class:
Metrics
The annotated method will be a gauge source.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether the defined name invalue()is an absolute name, or relative to the class containing the annotated element.Description of the metric.Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this element will be removed.Additional tags of the metric.Name of the gauge.
-
Element Details
-
value
-
scope
Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this element will be removed.Scope value retained for compatibility; core metrics ignores it.- Returns:
- configured value
- Default:
"application"
-
description
-
tags
-
absoluteName
boolean absoluteNameWhether the defined name invalue()is an absolute name, or relative to the class containing the annotated element.- Returns:
trueif the name is absolute,falseotherwise.
- Default:
false
-
unit
-