- Enclosing class:
Metrics
@Repeatable(Tags.class)
@Target({TYPE,METHOD})
@Retention(CLASS)
public static @interface Metrics.Tag
Metric tag.
Tags can be declared on:
- The type that contains a metered method, such tags will be applied to all meters within this type
- The method that has a metric annotation, such tags will be applied to all meters on the method
- In meters annotations
tagsproperty, such tags will be applied only to the single meter
-
Required Element Summary
Required Elements