Interface SimpleConfig
- All Superinterfaces:
MeterRegistryConfig
public interface SimpleConfig extends MeterRegistryConfig
Configuration for
SimpleMeterRegistry
.-
Field Summary
Fields Modifier and Type Field Description static SimpleConfig
DEFAULT
-
Method Summary
Modifier and Type Method Description default CountingMode
mode()
default java.lang.String
prefix()
default java.time.Duration
step()
-
Field Details
-
Method Details
-
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
- 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()
.
-