LabeledHistogram

zio.blocks.telemetry.LabeledHistogram
final class LabeledHistogram

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

Value parameters

histogram

the underlying histogram 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*): BoundHistogram

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