Class StatsdPropertiesConfigAdapter
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter<StatsdProperties>
org.springframework.boot.actuate.autoconfigure.metrics.export.statsd.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
-
Field Summary
Fields inherited from interface io.micrometer.statsd.StatsdConfig
DEFAULT
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter
get
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
requireValid
Methods inherited from interface io.micrometer.statsd.StatsdConfig
queueSize, validate
-
Constructor Details
-
StatsdPropertiesConfigAdapter
-
-
Method Details
-
get
- Specified by:
get
in interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
-
prefix
- Specified by:
prefix
in interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
- Specified by:
prefix
in interfaceio.micrometer.statsd.StatsdConfig
-
flavor
public io.micrometer.statsd.StatsdFlavor flavor()- Specified by:
flavor
in interfaceio.micrometer.statsd.StatsdConfig
-
enabled
public boolean enabled()- Specified by:
enabled
in interfaceio.micrometer.statsd.StatsdConfig
-
host
- Specified by:
host
in interfaceio.micrometer.statsd.StatsdConfig
-
port
public int port()- Specified by:
port
in interfaceio.micrometer.statsd.StatsdConfig
-
protocol
public io.micrometer.statsd.StatsdProtocol protocol()- Specified by:
protocol
in interfaceio.micrometer.statsd.StatsdConfig
-
maxPacketLength
public int maxPacketLength()- Specified by:
maxPacketLength
in interfaceio.micrometer.statsd.StatsdConfig
-
pollingFrequency
- Specified by:
pollingFrequency
in interfaceio.micrometer.statsd.StatsdConfig
-
step
- Specified by:
step
in interfaceio.micrometer.statsd.StatsdConfig
-
publishUnchangedMeters
public boolean publishUnchangedMeters()- Specified by:
publishUnchangedMeters
in interfaceio.micrometer.statsd.StatsdConfig
-
buffered
public boolean buffered()- Specified by:
buffered
in interfaceio.micrometer.statsd.StatsdConfig
-