Histogram

zio.telemetry.opentelemetry.metrics.Histogram
See theHistogram companion object
trait Histogram[-A]

A Histogram instrument that records values of type A

Type parameters

A

according to the specification, it can be either scala.Long or scala.Double type

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def record(value: A, attributes: Attributes)(implicit trace: Trace): UIO[Unit]

Records a value.

Records a value.

It uses the context taken from the zio.telemetry.opentelemetry.context.ContextStorage to associate with this measurement.

Value parameters

attributes

set of attributes to associate with the value

value

increment amount. MUST be non-negative

Attributes