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()
Governs the maximum size of the queue of items waiting to be sent to a StatsD agent over UDP.
|
default java.time.Duration |
step() |
static final StatsdConfig DEFAULT
default java.lang.String prefix()
prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfigdefault 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()
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.