Annotation Type Metered
-
@Retention(RUNTIME) @Target(METHOD) @Documented public @interface Metered
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanignorejava.lang.StringmetricNameIf set, this value will be used as an override to the metric name that would normally be generated automatically.java.lang.String[]tags
-
-
-
Element Detail
-
metricName
java.lang.String metricName
If 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:
- ""
-
-