Trait opentelemetry::metrics::SyncUpDownCounter
source · pub trait SyncUpDownCounter<T> {
// Required method
fn add(&self, value: T, attributes: &[KeyValue]);
}
Available on crate feature
metrics
only.Expand description
An SDK implemented instrument that records increasing or decreasing values.