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-configured
MeterRegistries
.
Customizers are guaranteed to be applied before any Meter
is registered with
the registry.
- Since:
- 2.0.0
- Author:
- Jon Schneider
-
Method Summary
-
Method Details
-
customize
Customize the givenregistry
.- Parameters:
registry
- the registry to customize
-