Interface SimpleConfig
-
- All Superinterfaces:
MeterRegistryConfig
public interface SimpleConfig extends MeterRegistryConfig
Configuration forSimpleMeterRegistry
.
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleConfig
DEFAULT
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CountingMode
mode()
default java.lang.String
prefix()
default java.time.Duration
step()
-
Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
get
-
-
-
-
Field Detail
-
DEFAULT
static final SimpleConfig DEFAULT
-
-
Method Detail
-
prefix
default java.lang.String prefix()
- Specified by:
prefix
in interfaceMeterRegistryConfig
-
step
default java.time.Duration step()
- Returns:
- The step size (reporting frequency) to use.
-
mode
default CountingMode mode()
- Returns:
- A mode that determines whether the registry reports cumulative values over all time or
a rate normalized form representing changes in the last
step()
.
-
-