LabeledGauge

zio.blocks.telemetry.LabeledGauge
final class LabeledGauge

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

Value parameters

gauge

the underlying gauge 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 bind(labelValues: Any*): BoundGauge

Attributes

Source
LabeledInstruments.scala

Attributes

Source
LabeledInstruments.scala
def record(value: Double, labelValues: Any*): Unit

Attributes

Source
LabeledInstruments.scala

Concrete fields

val labelNames: Array[String]

Attributes

Source
LabeledInstruments.scala