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