Interface SimpleConfig
- All Superinterfaces:
MeterRegistryConfig
public interface SimpleConfig extends MeterRegistryConfig
Configuration for
SimpleMeterRegistry.-
Field Summary
Fields Modifier and Type Field Description static SimpleConfigDEFAULT -
Method Summary
Modifier and Type Method Description default CountingModemode()default java.lang.Stringprefix()default java.time.Durationstep()
-
Field Details
-
Method Details
-
prefix
default java.lang.String prefix()- Specified by:
prefixin 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().
-