Packages

p

zio.metrics

prometheus2

package prometheus2

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. prometheus2
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package exporters

Type Members

  1. sealed trait Buckets extends AnyRef
  2. trait Counter extends AnyRef
  3. trait Gauge extends TimerMetric
  4. trait Histogram extends TimerMetric
  5. sealed trait LabelList extends Product with Serializable

    A list of strings whose size is statically known.

    A list of strings whose size is statically known.

    This is used to have strongly typed labelled metrics.

    Inspired by shapeless HList.

  6. trait LabelledMetric[R, E, M] extends AnyRef

    Helper to create strongly typed Prometheus labelled metrics.

    Helper to create strongly typed Prometheus 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.

  7. trait LabelledMetricP[R, E, P, M] extends AnyRef

    Helper to create strongly typed Prometheus labelled metrics.

    Helper to create strongly typed Prometheus 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.

  8. final case class Quantile(percentile: Double, tolerance: Double) extends Product with Serializable
  9. type Registry = Service
  10. trait Summary extends TimerMetric
  11. trait Timer extends AnyRef
  12. trait TimerMetric extends AnyRef

Value Members

  1. def collect: RIO[Registry, Enumeration[MetricFamilySamples]]
  2. def collectorRegistry: RIO[Registry, CollectorRegistry]
  3. def string004: RIO[Registry, String]
  4. def updateRegistry[A](f: (CollectorRegistry) => Task[A]): RIO[Registry, A]
  5. object Buckets
  6. object Counter extends LabelledMetric[Registry, Throwable, Counter]
  7. object Gauge extends LabelledMetric[Registry, Throwable, Gauge]
  8. object Histogram extends LabelledMetricP[Registry, Throwable, Buckets, Histogram]
  9. object LabelList extends Serializable
  10. object Registry
  11. object Summary extends LabelledMetricP[Registry, Throwable, List[Quantile], Summary]
  12. object example

Inherited from AnyRef

Inherited from Any

Ungrouped