public interface PrometheusConfig
extends io.micrometer.core.instrument.config.MeterRegistryConfig
| Modifier and Type | Field and Description |
|---|---|
static PrometheusConfig |
DEFAULT
Accept configuration defaults
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
descriptions()
true if meter descriptions should be sent to Prometheus. |
default java.lang.String |
prefix() |
default java.time.Duration |
step()
Returns the step size to use in computing windowed statistics like max.
|
static final PrometheusConfig DEFAULT
default java.lang.String prefix()
prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfigdefault boolean descriptions()
true if meter descriptions should be sent to Prometheus.
Turn this off to minimize the amount of data sent on each scrape.default java.time.Duration step()