Annotation Interface ConditionalOnEnabledMetricsExport
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@Conditional(org.springframework.boot.micrometer.metrics.autoconfigure.export.OnMetricsExportEnabledCondition.class)
public @interface ConditionalOnEnabledMetricsExport
@Conditional that checks whether a metrics exporter is enabled. If
the management.<name>.metrics.export.enabled property is configured then its
value is used to determine if it matches. Otherwise, matches if the value of the
management.defaults.metrics.export.enabled property is true or if it is
not configured.- Since:
- 4.0.0
-
Required Element Summary
Required Elements
-
Element Details
-
value
-