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.")turnsmyCounterintomyapp.myCounter - suffix
-
An optional suffix that is appended to every datagram, after the tags
Attributes
- Companion
- object
- Source
- StatsdConfig.scala
- Graph
-
- Supertypes
Members list
In this article