Interface MeterRegistryCustomizer<M extends io.micrometer.core.instrument.MeterRegistry>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @NonNullApi
    public interface MeterRegistryCustomizer<M extends io.micrometer.core.instrument.MeterRegistry>
    Callback interface that can be used to customize the primary auto-configured MeterRegistry.

    Configurers are guaranteed to be applied before any Meter is registered with the registry.

    • Method Detail

      • customize

        void customize​(M registry)
        Configure the given registry.
        Parameters:
        registry - the registry to configure