Packages

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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatsdConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val buffered: Boolean
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. val flavor: StatsdFlavor
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. val host: String
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val maxPacketLength: Int
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. val pollingFrequency: FiniteDuration
  17. val port: Int
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val protocol: StatsdProtocol
  20. val publishUnchangedMeters: Boolean
  21. val rate: FiniteDuration
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped