@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented @Conditional(value=org.springframework.boot.actuate.autoconfigure.metrics.export.OnMetricsExportEnabledCondition.class) public @interface ConditionalOnEnabledMetricsExport
@Conditional
that checks whether a metrics exporter is enabled. If
the management.metrics.export.<name>.enabled
property is configured then its
value is used to determine if it matches. Otherwise, matches if the value of the
management.metrics.export.defaults.enabled
property is true
or if it is
not configured.public abstract String value