Annotation Interface Metered
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf set, this value will be used as an override to the metric name that would normally be generated automatically.String[]
-
Element Details
-
metricName
String metricNameIf set, this value will be used as an override to the metric name that would normally be generated automatically. This is useful when there are metric name collisions.In the context of plugins, the plugin ID will always be prefixed to the metric name.
- Returns:
- Optional metric name override
- Default:
- ""
-
ignore
boolean ignore- Returns:
- If set to true, the associated method will not be metered.
- Default:
- false
-
tags
String[] tags- Returns:
- Sequence of alternating key/value tag pairs. Expects key as first element.
- Default:
- {}
-