Interface MeterRegistry.Config
- Enclosing interface:
MeterRegistry
public static interface MeterRegistry.Config
Represents the configuration of the registry.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionclock()Returns the clock.meterFilter(MeterFilter filter) Adds a meter filter to the registry.
-
Method Details
-
meterFilter
Adds a meter filter to the registry. Filters are applied in the order in which they are added.- Parameters:
filter- The filter to add to the registry.- Returns:
- This configuration instance.
-
clock
Clock clock()Returns the clock.- Returns:
- the clock used to measure durations of timers and long task timers (and sometimes influences publishing behavior).
-