← ZIO Metrics Connectors docs

zio.metrics.connectors.statsd

Members list

Type members

Classlikes

final case class DatagramSocketConfig(path: String, prefix: Option[String] = ..., constantTags: List[MetricLabel] = ..., suffix: Option[String] = ...)

Configuration for sending metrics over a unix domain socket (UDS)

Configuration for sending metrics over a unix domain socket (UDS)

Value parameters

constantTags

Tags that are added to every metric that is sent

path

Path of the unix domain socket the agent is listening on

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

Source
StatsdConfig.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait StatsdClient

Attributes

Source
StatsdClient.scala
Supertypes
class Object
trait Matchable
class Any
object StatsdConfig

Attributes

Companion
class
Source
StatsdConfig.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class StatsdConfig(host: String, port: Int, prefix: Option[String] = ..., constantTags: List[MetricLabel] = ..., suffix: Option[String] = ...)

StatsD specific configuration

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object StatsdEncoder extends StatsdEncoder

Attributes

Companion
class
Source
StatsdEncoder.scala
Supertypes
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case class StatsdEncoder(constantTags: List[MetricLabel], suffix: Option[String], prefix: Option[String] = ...)

Attributes

Companion
object
Source
StatsdEncoder.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object StatsdEncoder

Value members

Concrete methods

Creates a layer that provides a StatsdClient that sends metrics over UDP network protocol.

Creates a layer that provides a StatsdClient that sends metrics over UDP network protocol.

Attributes

Source
package.scala

Creates a layer that provides a StatsdClient that sends metrics over unix domain socket (UDS).

Creates a layer that provides a StatsdClient that sends metrics over unix domain socket (UDS).

Attributes

Source
package.scala

Deprecated methods

Attributes

Deprecated
[Since version 2.4.0] Use the statsdUDP or statsdUDS from the zio.metrics.connectors.statsd package instead
Source
package.scala