Class PrometheusProperties
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.export.prometheus.PrometheusProperties
-
@ConfigurationProperties(prefix="management.metrics.export.prometheus") public class PrometheusProperties extends java.lang.Object
ConfigurationProperties
for configuring metrics export to Prometheus.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrometheusProperties.Pushgateway
Configuration options for push-based interaction with Prometheus.
-
Constructor Summary
Constructors Constructor Description PrometheusProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusProperties.Pushgateway
getPushgateway()
java.time.Duration
getStep()
boolean
isDescriptions()
void
setDescriptions(boolean descriptions)
void
setPushgateway(PrometheusProperties.Pushgateway pushgateway)
void
setStep(java.time.Duration step)
-
-
-
Method Detail
-
isDescriptions
public boolean isDescriptions()
-
setDescriptions
public void setDescriptions(boolean descriptions)
-
getStep
public java.time.Duration getStep()
-
setStep
public void setStep(java.time.Duration step)
-
getPushgateway
public PrometheusProperties.Pushgateway getPushgateway()
-
setPushgateway
public void setPushgateway(PrometheusProperties.Pushgateway pushgateway)
-
-