java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties

@ConfigurationProperties(prefix="management.prometheus.metrics.export") public class PrometheusProperties extends Object
@ConfigurationProperties for configuring metrics export to Prometheus.
Since:
2.0.0
Author:
Jon Schneider, Stephane Nicoll
  • Constructor Details

    • PrometheusProperties

      public PrometheusProperties()
  • Method Details

    • isDescriptions

      public boolean isDescriptions()
    • setDescriptions

      public void setDescriptions(boolean descriptions)
    • getHistogramFlavor

      public io.micrometer.prometheus.HistogramFlavor getHistogramFlavor()
    • setHistogramFlavor

      public void setHistogramFlavor(io.micrometer.prometheus.HistogramFlavor histogramFlavor)
    • getStep

      public Duration getStep()
    • setStep

      public void setStep(Duration step)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getPushgateway

      public PrometheusProperties.Pushgateway getPushgateway()