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