package statsd
Type Members
- case class StatsdConfig(rate: FiniteDuration = 10.seconds, flavor: StatsdFlavor = StatsdFlavor.DATADOG, buffered: Boolean = true, maxPacketLength: Int = 1400, pollingFrequency: FiniteDuration = 10.seconds, publishUnchangedMeters: Boolean = true, protocol: StatsdProtocol = StatsdProtocol.UDP, port: Int = 8125, host: String = "localhost") extends Product with Serializable
Configuration to be passed to the underlying Micrometer DatadogMeterRegistry
Configuration to be passed to the underlying Micrometer DatadogMeterRegistry
- rate
how frequently to report metrics to StatsD
- flavor
the type of StatsD to talk to
- buffered
whether or not buffer metrics to before sending to the StatsD server
- maxPacketLength
the max length of the metrics payload
- pollingFrequency
how often gauges will be polled
- publishUnchangedMeters
whether unchanged meters should be published to the StatsD server
- protocol
the protocol of the connection to the StatsD agent
- port
the port of the StatsD agent
- host
the host name of the StatsD agent