← ZIO Metrics Connectors docs

DatadogPublisherConfig

zio.metrics.connectors.datadog.DatadogPublisherConfig
case class DatadogPublisherConfig(histogramSendInterval: Option[Duration] = ..., maxBatchedMetrics: Int = ..., maxQueueSize: Int = ..., containerId: Option[String] = ..., entityId: Option[String] = ..., sendUnchanged: Boolean = ..., constantTags: List[MetricLabel] = ..., prefix: Option[String] = ...)

Datadog Specific publisher configuration

Value parameters

constantTags

Tags that are added to every metric that is sent

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

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

prefix

An optional prefix that is prepended to every metric name. Any separator has to be part of the value, e.g. Some("myapp.") turns myCounter into myapp.myCounter

sendUnchanged

Whether metrics that did not change since the last poll are sent as well

Attributes

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