Class AbstractMethodTagger
java.lang.Object
io.micronaut.configuration.metrics.aggregator.AbstractMethodTagger
Appends additional
Tag
to metrics annotated with Timed
and Counted
.- Since:
- 5.5.0
- Author:
- Haiden Rothwell
-
Constructor Details
-
AbstractMethodTagger
public AbstractMethodTagger()
-
-
Method Details
-
buildTags
@NonNull protected abstract @NonNull List<io.micrometer.core.instrument.Tag> buildTags(@NonNull @NonNull io.micronaut.aop.MethodInvocationContext<Object, Object> context) Build list of tags usingMethodInvocationContext
which will be included on published metric.- Parameters:
context
- Context of the method annotated- Returns:
- List of
Tag
which will be included in the metric
-
getTags
-