类 PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration
@Configuration @ConditionalOnClass(io.prometheus.client.exporter.PushGateway.class) @ConditionalOnProperty(prefix="management.metrics.export.prometheus.pushgateway", name="enabled") public static class PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration extends Object
Configuration for Prometheus Pushgateway.
构造器概要
构造器 构造器 说明 PrometheusPushGatewayConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager
prometheusPushGatewayManager(io.prometheus.client.CollectorRegistry collectorRegistry, PrometheusProperties prometheusProperties, org.springframework.core.env.Environment environment)
构造器详细资料
PrometheusPushGatewayConfiguration
public PrometheusPushGatewayConfiguration()
方法详细资料
prometheusPushGatewayManager
@Bean @ConditionalOnMissingBean public org.springframework.boot.actuate.metrics.export.prometheus.PrometheusPushGatewayManager prometheusPushGatewayManager(io.prometheus.client.CollectorRegistry collectorRegistry, PrometheusProperties prometheusProperties, org.springframework.core.env.Environment environment)