← ZIO Metrics Connectors docs

DatadogConfig

zio.metrics.connectors.datadog.DatadogConfig
See theDatadogConfig companion object
final case class DatadogConfig(host: String, port: Int, histogramSendInterval: Option[Duration] = ..., maxBatchedMetrics: Int = ..., maxQueueSize: Int = ..., containerId: Option[String] = ..., entityId: Option[String] = ..., sendUnchanged: Boolean = ...)

Datadog Specific configuration

Value parameters

containerId

An optional docker container ID

entityId

An optional entity ID value used with an internal tag for tracking client entity

histogramSendInterval

Override for when the distributions should be sent faster than the general metrics frequency. This is typically with an app that generates lots of distributions, but doesn't want to send other metrics types, such as gauges, too frequently

host

Agent host name

maxBatchedMetrics

The maximum number of metrics to batch before sending. This affects packet size

maxQueueSize

The maximum number of metrics stored in the queue. This affects memory usage

port

Agent port

Attributes

Companion
object
Deprecated
[Since version 2.4.0] Use zio.metrics.connectors.DatadogPublisherConfig instead
Source
DatadogConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala