@ConfigurationProperties(prefix="management.metrics.export.simple") public class SimpleProperties extends Object
@ConfigurationProperties
for configuring metrics export
to a SimpleMeterRegistry
.Constructor and Description |
---|
SimpleProperties() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.simple.CountingMode |
getMode() |
Duration |
getStep() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setMode(io.micrometer.core.instrument.simple.CountingMode mode) |
void |
setStep(Duration step) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public Duration getStep()
public void setStep(Duration step)
public io.micrometer.core.instrument.simple.CountingMode getMode()
public void setMode(io.micrometer.core.instrument.simple.CountingMode mode)