Top Description Methods
io.opentelemetry.api.metrics

public Interface ObservableDoubleMeasurement

extends ObservableMeasurement
Known Direct Implementers
io.opentelemetry.api.metrics.DefaultMeter.NoopObservableDoubleMeasurement
Imports
io.opentelemetry.api.common.Attributes

An interface for observing measurements with double values.
Since
1.10.0

Method Summary

Modifier and TypeMethod and Description
public void
record(double
The measurement value.
value
)

Records a measurement.

public void
record(double
The measurement value.
value
,
Attributes
A set of attributes to associate with the value.
attributes
)

Records a measurement with a set of attributes.

Method Detail

recordback to summary
public void record(double value)

Records a measurement.

Parameters
value:double

The measurement value.

recordback to summary
public void record(double value, Attributes attributes)

Records a measurement with a set of attributes.

Parameters
value:double

The measurement value.

attributes:Attributes

A set of attributes to associate with the value.