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
- 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
- Alphabetic
- By Inheritance
- StatsdConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new 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")
- 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
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val buffered: Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val flavor: StatsdFlavor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val host: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxPacketLength: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pollingFrequency: FiniteDuration
- val port: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocol: StatsdProtocol
- val publishUnchangedMeters: Boolean
- val rate: FiniteDuration
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.