Class PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration
Enclosing class:
PrometheusMetricsExportAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnClass(io.prometheus.client.exporter.PushGateway.class) @ConditionalOnProperty(prefix="management.prometheus.metrics.export.pushgateway", name="enabled") public static class PrometheusMetricsExportAutoConfiguration.PrometheusPushGatewayConfiguration extends Object
Configuration for Prometheus Pushgateway.
  • Constructor Details

    • PrometheusPushGatewayConfiguration

      public PrometheusPushGatewayConfiguration()
  • Method Details

    • 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) throws MalformedURLException
      Throws:
      MalformedURLException