public interface StatsdConfig
extends io.micrometer.core.instrument.config.MeterRegistryConfig
StatsdMeterRegistry
.Modifier and Type | Field and Description |
---|---|
static StatsdConfig |
DEFAULT
Accept configuration defaults
|
Modifier and Type | Method and Description |
---|---|
default boolean |
enabled() |
default StatsdFlavor |
flavor() |
default java.lang.String |
host() |
default int |
maxPacketLength()
Keep the total length of the payload within your network's MTU.
|
default java.time.Duration |
pollingFrequency()
Determines how often gauges will be polled.
|
default int |
port() |
default java.lang.String |
prefix() |
default boolean |
publishUnchangedMeters() |
default int |
queueSize()
Deprecated.
No longer configurable and unbounded queue will be always used instead.
|
default java.time.Duration |
step() |
static final StatsdConfig DEFAULT
default java.lang.String prefix()
prefix
in interface io.micrometer.core.instrument.config.MeterRegistryConfig
default StatsdFlavor flavor()
default boolean enabled()
true
if publishing is enabled. Default is true
.default java.lang.String host()
default int port()
default int maxPacketLength()
default java.time.Duration pollingFrequency()
@Deprecated default int queueSize()
default java.time.Duration step()
default boolean publishUnchangedMeters()
true
if unchanged meters should be published to the StatsD server. Default is true
.