Class PrometheusProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties
@ConfigurationProperties("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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Configuration options for push-based interaction with Prometheus. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStep()
boolean
boolean
void
setDescriptions
(boolean descriptions) void
setEnabled
(boolean enabled) void
-
Constructor Details
-
PrometheusProperties
public PrometheusProperties()
-
-
Method Details
-
isDescriptions
public boolean isDescriptions() -
setDescriptions
public void setDescriptions(boolean descriptions) -
getStep
-
setStep
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getPushgateway
-
getProperties
-