Trait opentelemetry_api::metrics::AsyncGauge
source · pub trait AsyncGauge<T>: Send + Sync {
// Required method
fn observe(&self, cx: &Context, value: T, attributes: &[KeyValue]);
}
Expand description
An SDK implemented instrument that records independent readings.