- package jvm
- sealed trait MetricKey extends AnyRef
MetricKeyis a unique key associated with each metric.
- trait MetricListener extends AnyRef
MetricListeneris capable of taking some action in response to a metric being recorded, such as sending that metric to a third party service.
- final case class MetricState(name: String, help: String, labels: Chunk[MetricLabel], details: MetricType) extends Product with Serializable
MetricStaterepresents a snapshot of the current state of a metric as of a poiint in time.
- sealed trait MetricType extends AnyRef
MetricTyperepresents information about the state of a metric that is particular to a certain type of metric, such as a histogram as opposed to a counter.