package safe
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- safe
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait LabelledMetric[R, M] extends AnyRef
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.
- type Registry = Service
Value Members
- def meterRegistry: RIO[Registry, MeterRegistry]
- def updateRegistry[A](f: (MeterRegistry) => UIO[A]): RIO[Registry, A]
- object Counter extends LabelledMetric[Registry, Counter]
- object DistributionSummary extends LabelledMetric[Registry, DistributionSummary]
- object Gauge extends LabelledMetric[Registry, Gauge]
- object Registry
- object TimeGauge extends LabelledMetric[Registry, TimeGauge]
- object Timer extends LabelledMetric[Registry, Timer]