prometheus4cats
package prometheus4cats
- Source
- package.scala
- Alphabetic
- By Inheritance
- prometheus4cats
- ShapelessPolyfill
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
CallbackRegistry[F[_]] extends AnyRef
Trait for registering callbacks against different backends.
Trait for registering callbacks against different backends. May be implemented by anyone for use with MetricFactory.WithCallbacks
- trait Common extends AnyRef
- sealed abstract class Counter[F[_], A, B] extends Metric[A] with Labelled[B]
-
trait
CurrentTimeRecorder[F[_], A] extends Labelled[A]
A derived metric type that sets an underlying Gauge to the current system time.
-
trait
Exemplar[F[_]] extends AnyRef
A typeclass to provide exemplars to counters and histograms, which may be used by MetricRegistry implementations.
- trait ExemplarSampler[F[_], -A] extends prometheus4cats.ExemplarSampler.Counter[F, A] with prometheus4cats.ExemplarSampler.Histogram[F, A]
-
type
GT[A <: Nat, B <: Nat] = LT[B, A]
- Definition Classes
- ShapelessPolyfill
- abstract class Gauge[F[_], -A, B] extends Metric[A] with Labelled[B]
- sealed abstract class Histogram[F[_], A, B] extends Metric[A] with Labelled[B]
- sealed abstract class Info[F[_], -A] extends Metric[A]
- trait LabelsContravariant[F[_]] extends AnyRef
- final class MetricCollection extends AnyRef
- sealed abstract class MetricFactory[F[_]] extends AnyRef
-
trait
MetricRegistry[F[_]] extends AnyRef
Trait for registering metrics against different backends.
Trait for registering metrics against different backends. May be implemented by anyone for use with MetricFactory
-
type
Nat = shapeless.Nat
- Definition Classes
- ShapelessPolyfill
-
sealed abstract
class
OutcomeRecorder[F[_], -A] extends Labelled[A]
A derived metric type that records the outcome of an operation.
A derived metric type that records the outcome of an operation. See OutcomeRecorder.fromCounter and OutcomeRecorder.fromGauge for more information.
-
type
Succ[N <: Nat] = shapeless.Succ[N]
- Definition Classes
- ShapelessPolyfill
- sealed abstract class Summary[F[_], -A, B] extends Metric[A] with Labelled[B]
-
sealed abstract
class
Timer[F[_], A] extends Labelled[A]
A derived metric type that can time a given operation.
A derived metric type that can time a given operation. See Timer.fromHistogram and Timer.fromGauge for more information.
-
type
ToInt[N <: Nat] = shapeless.ops.nat.ToInt[N]
- Definition Classes
- ShapelessPolyfill
Value Members
-
val
GT: shapeless.ops.nat.GT.type
- Definition Classes
- ShapelessPolyfill
-
val
Succ: shapeless.Succ.type
- Definition Classes
- ShapelessPolyfill
-
val
ToInt: shapeless.ops.nat.ToInt.type
- Definition Classes
- ShapelessPolyfill
- object CallbackRegistry
- object Counter
- object CurrentTimeRecorder
- object Exemplar
- object ExemplarSampler extends Common
- object Gauge
- object Histogram
- object Info
- object Label
- object LabelsContravariant
- object Metric
- object MetricCollection
- object MetricFactory
- object MetricRegistry
-
object
Nat
- Definition Classes
- ShapelessPolyfill
- object OutcomeRecorder
- object Summary
- object Timer