@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.Pushgateway
Configuration options for push-based interaction with Prometheus.
|
| Constructor and Description |
|---|
PrometheusProperties() |
| Modifier and Type | Method and Description |
|---|---|
io.micrometer.prometheus.HistogramFlavor |
getHistogramFlavor() |
PrometheusProperties.Pushgateway |
getPushgateway() |
java.time.Duration |
getStep() |
boolean |
isDescriptions() |
void |
setDescriptions(boolean descriptions) |
void |
setHistogramFlavor(io.micrometer.prometheus.HistogramFlavor histogramFlavor) |
void |
setStep(java.time.Duration step) |
public boolean isDescriptions()
public void setDescriptions(boolean descriptions)
public io.micrometer.prometheus.HistogramFlavor getHistogramFlavor()
public void setHistogramFlavor(io.micrometer.prometheus.HistogramFlavor histogramFlavor)
public java.time.Duration getStep()
public void setStep(java.time.Duration step)
public PrometheusProperties.Pushgateway getPushgateway()