Struct open_metrics_client::metrics::exemplar::HistogramWithExemplars [−][src]
pub struct HistogramWithExemplars<S> { /* fields omitted */ }Expand description
Open Metrics Histogram to both measure distributions of discrete events.
and track references to data outside of the metric set.
let histogram = HistogramWithExemplars::new(exponential_buckets(1.0, 2.0, 10)); histogram.observe(4.2, Some(vec![("user_id".to_string(), "42".to_string())]));
Implementations
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for HistogramWithExemplars<S>
impl<S> Send for HistogramWithExemplars<S> where
S: Send + Sync,
impl<S> Sync for HistogramWithExemplars<S> where
S: Send + Sync,
impl<S> Unpin for HistogramWithExemplars<S>
impl<S> UnwindSafe for HistogramWithExemplars<S>
Blanket Implementations
Mutably borrows from an owned value. Read more