Class PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.export.prometheus.PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration
-
- Enclosing class:
- PrometheusMetricsExportAutoConfiguration
@Configuration @ConditionalOnClass(io.prometheus.client.exporter.PushGateway.class) @ConditionalOnProperty(prefix="management.metrics.export.prometheus.pushgateway", name="enabled") public static class PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration extends java.lang.Object
Configuration for Prometheus Pushgateway.
-
-
Constructor Summary
Constructors Constructor Description PrometheusPushGatewayConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusPushGatewayManager
prometheusPushGatewayManager(io.prometheus.client.CollectorRegistry collectorRegistry, PrometheusProperties prometheusProperties, org.springframework.core.env.Environment environment)
-
-
-
Method Detail
-
prometheusPushGatewayManager
@Bean @ConditionalOnMissingBean public PrometheusPushGatewayManager prometheusPushGatewayManager(io.prometheus.client.CollectorRegistry collectorRegistry, PrometheusProperties prometheusProperties, org.springframework.core.env.Environment environment)
-
-