Interface MicrometerConfigurationHook

All Superinterfaces:
AutoCloseable

public interface MicrometerConfigurationHook extends AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Releases resources that may have been registered by this hook.
    void
    configure(io.micrometer.core.instrument.MeterRegistry targetRegistry)
    Configures this hook into the given registry.
  • Method Details

    • configure

      void configure(io.micrometer.core.instrument.MeterRegistry targetRegistry)
      Configures this hook into the given registry.
      Parameters:
      targetRegistry - meter registry.
    • close

      default void close()
      Releases resources that may have been registered by this hook. Implementations of this method must not throw unchecked exceptions.
      Specified by:
      close in interface AutoCloseable