Annotation Interface Info
Annotation to provide information about the dimensional information of a metric.
- Since:
- 6.10
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
A series of key, method name pairs that will be used to add additional information to the metric. -
Field Summary
Fields
-
Field Details
-
DEFAULT_KEY
The default key name.- See Also:
-
-
Element Details
-
key
String key- Returns:
- the unit of the gauge
- Default:
- "value"
-
additional
String[] additionalA series of key, method name pairs that will be used to add additional information to the metric. The method name must be a method on the same class as the annotated method. The value returned must be a String and will be used as the value for the key.- Returns:
- Default:
- {}
-