@ConfigurationProperties(prefix="management.metrics.export.prometheus")
public class PrometheusProperties
extends java.lang.Object
ConfigurationProperties for configuring metrics export to Prometheus.| Modifier and Type | Class and Description |
|---|---|
static class |
PrometheusProperties.PushgatewayProperties
Configuration options for push-based interaction with Prometheus.
|
| Constructor and Description |
|---|
PrometheusProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getDescriptions() |
java.lang.Boolean |
getEnabled() |
PrometheusProperties.PushgatewayProperties |
getPushgateway() |
java.time.Duration |
getStep() |
void |
setDescriptions(java.lang.Boolean descriptions) |
void |
setEnabled(java.lang.Boolean enabled) |
void |
setPushgateway(PrometheusProperties.PushgatewayProperties pushgateway) |
void |
setStep(java.time.Duration step) |
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
public java.lang.Boolean getDescriptions()
public void setDescriptions(java.lang.Boolean descriptions)
public java.time.Duration getStep()
public void setStep(java.time.Duration step)
public PrometheusProperties.PushgatewayProperties getPushgateway()
public void setPushgateway(PrometheusProperties.PushgatewayProperties pushgateway)