Package io.opentelemetry.api.metrics
Interface ObservableDoubleMeasurement
- All Superinterfaces:
ObservableMeasurement
An interface for observing measurements with
double
values.- Since:
- 1.10.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
record
(double value) Records a measurement.void
record
(double value, Attributes attributes) Records a measurement with a set of attributes.
-
Method Details
-
record
void record(double value) Records a measurement.- Parameters:
value
- The measurement value.
-
record
Records a measurement with a set of attributes.- Parameters:
value
- The measurement value.attributes
- A set of attributes to associate with the value.
-