← ZIO Metrics Connectors docs

StatsdConfig

zio.metrics.connectors.statsd.StatsdConfig
See theStatsdConfig companion object
final case class StatsdConfig(host: String, port: Int, prefix: Option[String] = ..., constantTags: List[MetricLabel] = ..., suffix: Option[String] = ...)

StatsD specific configuration

Value parameters

constantTags

Tags that are added to every metric that is sent

host

Agent host name

port

Agent port

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

suffix

An optional suffix that is appended to every datagram, after the tags

Attributes

Companion
object
Source
StatsdConfig.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