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
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()
Duration
getStep()
boolean
isDescriptions()
void
setDescriptions(boolean descriptions)
void
setStep(Duration step)
Constructor Detail
PrometheusProperties
public PrometheusProperties()
Method Detail
isDescriptions
public boolean isDescriptions()
setDescriptions
public void setDescriptions(boolean descriptions)
getPushgateway
public PrometheusProperties.Pushgateway getPushgateway()