Class PrometheusProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties
@ConfigurationProperties(prefix="management.metrics.export.prometheus")
public class PrometheusProperties
extends Object
@ConfigurationProperties
for configuring metrics export
to Prometheus.- Since:
- 2.0.0
- Author:
- Jon Schneider, Stephane Nicoll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Configuration options for push-based interaction with Prometheus. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.prometheus.HistogramFlavor
getStep()
boolean
void
setDescriptions
(boolean descriptions) void
setHistogramFlavor
(io.micrometer.prometheus.HistogramFlavor histogramFlavor) void
-
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
-
setStep
-
getPushgateway
-