ObservableMeasurement

zio.telemetry.opentelemetry.metrics.ObservableMeasurement
See theObservableMeasurement companion object

An instrument for observing measurements with 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): Task[Unit]

Records a measurement.

Records a measurement.

Value parameters

attributes

set of attributes to associate with the value

value

measurement value

Attributes