Class PrometheusMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusMetricsExportAutoConfiguration
@AutoConfiguration(before={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class},
after=MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(io.micrometer.prometheusmetrics.PrometheusMeterRegistry.class)
@ConditionalOnEnabledMetricsExport("prometheus")
@EnableConfigurationProperties(PrometheusProperties.class)
public class PrometheusMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to Prometheus.- Since:
- 2.0.0
- Author:
- Jon Schneider, David J. M. Karlsen, Jonatan Ivanov
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PrometheusMetricsExportAutoConfiguration
public PrometheusMetricsExportAutoConfiguration()
-