Interface MeterRegistryConfigurer<T extends io.micrometer.core.instrument.MeterRegistry>

Type Parameters:
T - an instance of a meter registry that will be configured
All Known Implementing Classes:
CommonTagsConfigurer, CompositeMeterRegistryConfigurer

public interface MeterRegistryConfigurer<T extends io.micrometer.core.instrument.MeterRegistry>
Configures meter registries. This is done on bean added event so composite registry can be skipped and non-composite registries can be added to composite.
Since:
1.0
Author:
Christian Oestreich
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(T meterRegistry)
    Configures a meter registry with binders, filters, etc.
     
    default boolean
    supports(T meterRegistry)
    Determines if this configurer supports the meter registry type.
  • Method Details

    • configure

      void configure(T meterRegistry)
      Configures a meter registry with binders, filters, etc.
      Parameters:
      meterRegistry - Meter Registry
    • supports

      default boolean supports(T meterRegistry)
      Determines if this configurer supports the meter registry type.
      Parameters:
      meterRegistry - a meter registry
      Returns:
      boolean whether is supported
    • getType

      Class<T> getType()
      Returns:
      the type parameter