com.github.pjfanning.zio.micrometer.unsafe

Type members

Classlikes

trait LabelledMetric[R, E, M]

Helper to create strongly typed Micrometer labelled metrics.

Helper to create strongly typed Micrometer labelled metrics.

Metrics are defined with a list of labels whose length is statically known. Operations on the metric (increment a counter for instance), require to pass a list of label values with the same length.

object Registry

Types

Value members

Concrete methods

def meterRegistry: RIO[Registry, MeterRegistry]
def updateRegistry[A](f: MeterRegistry => Task[A]): RIO[Registry, A]
def zipLabelsAsTags(labelNames: Seq[String], labelValues: Seq[String]): Seq[Tag]