[][src]Module opentelemetry::api::metrics::value

OpenTelemetry Metrics Measurement Values

All values recorded by Instruments must be formatted as MeasurementValue. Meters can record values that impl Into<MeasurementValue. The two default types of values recorded are i64 and f64.

Structs

MeasurementValue

MeasurementValue represents either an integer or a floating point value of a measurement. It needs to be accompanied with a value kind or some source that provides a value kind describing this measurement value.