Interface MeterRegistryCustomizer<T extends io.micrometer.core.instrument.MeterRegistry>
- Type Parameters:
T
- the registry type to customize
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MeterRegistryCustomizer<T extends io.micrometer.core.instrument.MeterRegistry>
Callback interface that can be used to customize auto-configuredMeterRegistries
.Customizers are guaranteed to be applied before any
Meter
is registered with the registry.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(T registry)
Customize the givenregistry
.