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