Annotation Interface RequiresMetrics


@Documented @Retention(RUNTIME) @Target({PACKAGE,TYPE,ANNOTATION_TYPE,METHOD}) @Requires(property="micronaut.metrics.enabled",notEquals="false") @Requires(beans=io.micrometer.core.instrument.MeterRegistry.class) public @interface RequiresMetrics
Apply to a bean that requires metrics to be enabled.
Since:
1.0
Author:
Graeme Rocher