Trait rama::telemetry::opentelemetry::metrics::SyncCounter

pub trait SyncCounter<T> {
    // Required method
    fn add(&self, value: T, attributes: &[KeyValue]);
}
Expand description

An SDK implemented instrument that records increasing values.

Required Methods§

fn add(&self, value: T, attributes: &[KeyValue])

Records an increment to the counter.

Implementors§