Package io.opentelemetry.api.metrics
Interface ObservableDoubleMeasurement
- All Superinterfaces:
ObservableMeasurement
An interface for observing measurements with
double values.-
Method Summary
-
Method Details
-
observe
void observe(double value) Records a measurement.- Parameters:
value- The measurement amount. MUST be non-negative.
-
observe
void observe(double value, io.opentelemetry.api.common.Attributes attributes) Records a measurement with a set of attributes.- Parameters:
value- The measurement amount. MUST be non-negative.attributes- A set of attributes to associate with the count.
-