Trait opentelemetry::metrics::SyncHistogram

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

An SDK implemented instrument that records a distribution of values.

Required Methods§

source

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

Adds an additional value to the distribution.

Implementors§