Measurement

org.typelevel.otel4s.metrics.Measurement
See theMeasurement companion trait
object Measurement

Attributes

Companion
trait
Source
Measurement.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply[A](value: A): Measurement[A]

Creates a Measurement with the given value.

Creates a Measurement with the given value.

Value parameters

value

the value to record

Attributes

Source
Measurement.scala
def apply[A](value: A, attributes: Attribute[_]*): Measurement[A]

Creates a Measurement with the given value and attributes.

Creates a Measurement with the given value and attributes.

Value parameters

attributes

the attributes to associate with the value

value

the value to record

Attributes

Source
Measurement.scala
def apply[A](value: A, attributes: Attributes): Measurement[A]

Creates a Measurement with the given value and attributes.

Creates a Measurement with the given value and attributes.

Value parameters

attributes

the attributes to associate with the value

value

the value to record

Attributes

Source
Measurement.scala