LabeledCounter

zio.blocks.telemetry.LabeledCounter
final class LabeledCounter

A counter with pre-declared label names. Label values are validated at runtime to match the expected arity.

Value parameters

counter

the underlying counter instrument

labelNames

the declared label names, in order

Attributes

Source
LabeledInstruments.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def add(value: Long, labelValues: Any*): Unit

Attributes

Source
LabeledInstruments.scala
def bind(labelValues: Any*): BoundCounter

Attributes

Source
LabeledInstruments.scala

Attributes

Source
LabeledInstruments.scala

Concrete fields

val labelNames: Array[String]

Attributes

Source
LabeledInstruments.scala