Class MicrometerMeterRegistryConfiguration


  • public class MicrometerMeterRegistryConfiguration
    extends Object
    A configuration class to inject a custom MeterRegistry instance.
    Since:
    15.0
    • Constructor Detail

      • MicrometerMeterRegistryConfiguration

        public MicrometerMeterRegistryConfiguration​(io.micrometer.core.instrument.MeterRegistry registry)
    • Method Detail

      • meterRegistry

        public io.micrometer.core.instrument.MeterRegistry meterRegistry()
        Returns:
        The MeterRegistry instance injected or null if not configured.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object