Class StatsDMeterRegistryFactory

  • All Implemented Interfaces:
    MeterRegistryFactory<io.micrometer.statsd.StatsdMeterRegistry>

    public class StatsDMeterRegistryFactory
    extends java.lang.Object
    implements MeterRegistryFactory<io.micrometer.statsd.StatsdMeterRegistry>
    StatsDMetricsBuilder is a class that implements the MeterRegistryFactory interface specifically for StatsdMeterRegistry. It provides methods to check if the required StatsdMeterRegistry class is available and build a StatsdMeterRegistry instance based on a configuration map.
    See Also:
    StatsdConfig and StatsD micrometer interface docs
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.micrometer.statsd.StatsdMeterRegistry registry​(java.util.Map<java.lang.String,​java.lang.Object> config)  
      java.lang.String type()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StatsDMeterRegistryFactory

        public StatsDMeterRegistryFactory()
    • Method Detail

      • registry

        public io.micrometer.statsd.StatsdMeterRegistry registry​(java.util.Map<java.lang.String,​java.lang.Object> config)
        Specified by:
        registry in interface MeterRegistryFactory<io.micrometer.statsd.StatsdMeterRegistry>
      • type

        public java.lang.String type()
        Specified by:
        type in interface MeterRegistryFactory<io.micrometer.statsd.StatsdMeterRegistry>