logo
pub trait SyncHistogram<T> {
    fn record(&self, cx: &Context, value: T, attributes: &[KeyValue]);
}
Available on crate feature metrics only.
Expand description

An SDK implemented instrument that records a distribution of values.

Required Methods

Adds an additional value to the distribution.

Implementors