Struct prometrics::metric::AggregatedHistogram
[−]
[src]
pub struct AggregatedHistogram { /* fields omitted */ }
A metric for aggregating histograms that have the same name and labels.
Methods
impl AggregatedHistogram
[src]
pub fn metric_name(&self) -> &MetricName
[src]
Returns the name of this metric.
pub fn labels(&self) -> &Labels
[src]
Returns the labels of this metric.
pub fn timestamp(&self) -> Timestamp
[src]
Returns the latest timestamp among the histograms in this aggregation.
ⓘImportant traits for AggregatedCumulativeBuckets<'a>pub fn cumulative_buckets(&self) -> AggregatedCumulativeBuckets
[src]
ⓘImportant traits for AggregatedCumulativeBuckets<'a>
Returns the cumulative buckets of this aggregation.
pub fn count(&self) -> u64
[src]
Returns the sum of the observation counts in this aggregation.
pub fn sum(&self) -> f64
[src]
Returns the sum of the observed values in this aggregation.
Trait Implementations
impl Debug for AggregatedHistogram
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for AggregatedHistogram
[src]
fn clone(&self) -> AggregatedHistogram
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more