ZioMetricsProducerMetricsObserver
zio.kafka.producer.metrics.ZioMetricsProducerMetricsObserver
final class ZioMetricsProducerMetricsObserver(producerMetrics: ProducerMetrics, metricLabels: Set[MetricLabel]) extends ProducerMetricsObserver
A ProducerMetricsObserver implementation that uses zio-metrics to collect observations.
Value parameters
- metricLabels
-
the metric labels that are added to each metric
- producerMetrics
-
the names, descriptions and histogram boundaries of all the metrics
Attributes
- Source
- ZioMetricsProducerMetricsObserver.scala
- Graph
-
- Supertypes
Members list
In this article