← ZIO Kafka docs

MetricInfo

zio.kafka.metrics.MetricInfo
See theMetricInfo companion object
sealed trait MetricInfo

A metric descriptor.

Should provide enough information to allow constructing a metric in the used metrics library (e.g. zio-metrics).

WARNING: this is an UNSTABLE API and may change in an incompatible way without notice in any zio-kafka version.

Attributes

Companion
object
Source
MetricInfo.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Counter
class Gauge[A]
class Histogram[A]

Members list

Value members

Abstract methods

Attributes

Source
MetricInfo.scala
def name: String

Attributes

Source
MetricInfo.scala