org.springframework.boot.actuate.autoconfigure.metrics.export.statsd

Class StatsdPropertiesConfigAdapter

  • All Implemented Interfaces:
    io.micrometer.core.instrument.config.MeterRegistryConfig, io.micrometer.statsd.StatsdConfig


    public class StatsdPropertiesConfigAdapter
    extends PropertiesConfigAdapter<StatsdProperties>
    implements io.micrometer.statsd.StatsdConfig
    Adapter to convert StatsdProperties to a StatsdConfig.
    Since:
    2.0.0
    Author:
    Jon Schneider
    • Constructor Detail

      • StatsdPropertiesConfigAdapter

        public StatsdPropertiesConfigAdapter(StatsdProperties properties)
    • Method Detail

      • get

        public String get(String s)
        Specified by:
        get in interface io.micrometer.core.instrument.config.MeterRegistryConfig
      • flavor

        public io.micrometer.statsd.StatsdFlavor flavor()
        Specified by:
        flavor in interface io.micrometer.statsd.StatsdConfig
      • enabled

        public boolean enabled()
        Specified by:
        enabled in interface io.micrometer.statsd.StatsdConfig
      • host

        public String host()
        Specified by:
        host in interface io.micrometer.statsd.StatsdConfig
      • port

        public int port()
        Specified by:
        port in interface io.micrometer.statsd.StatsdConfig
      • maxPacketLength

        public int maxPacketLength()
        Specified by:
        maxPacketLength in interface io.micrometer.statsd.StatsdConfig
      • pollingFrequency

        public Duration pollingFrequency()
        Specified by:
        pollingFrequency in interface io.micrometer.statsd.StatsdConfig
      • queueSize

        @Deprecated
        public int queueSize()
        Deprecated. 
        Specified by:
        queueSize in interface io.micrometer.statsd.StatsdConfig
      • publishUnchangedMeters

        public boolean publishUnchangedMeters()
        Specified by:
        publishUnchangedMeters in interface io.micrometer.statsd.StatsdConfig