Struct opentelemetry::metrics::Measurement
source · [−]pub struct Measurement { /* private fields */ }
This is supported on crate feature
metrics
only.Expand description
Measurement is used for reporting a synchronous batch of metric values.
Instances of this type should be created by synchronous instruments (e.g.,
Counter::measurement
).
Implementations
Convert this measurement into the underlying number
The instrument that recorded this measurement