@RequiresMetrics @InterceptorBean(value=io.micrometer.core.annotation.Counted.class) public class CountedInterceptor extends java.lang.Object implements io.micronaut.aop.MethodInterceptor<java.lang.Object,java.lang.Object>
Counted as AOP advice.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_METRIC_NAME |
static java.lang.String |
RESULT_TAG |
| Constructor and Description |
|---|
CountedInterceptor(io.micrometer.core.instrument.MeterRegistry meterRegistry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
intercept(io.micronaut.aop.MethodInvocationContext<java.lang.Object,java.lang.Object> context) |
public static final java.lang.String DEFAULT_METRIC_NAME
public static final java.lang.String RESULT_TAG