Struct metrics_distributor::metrics::AggregatedMetrics
[−]
[src]
pub struct AggregatedMetrics { /* fields omitted */ }
All the metrics in a given time interval coalesced into a single value for each metric.
Methods
impl AggregatedMetrics
[src]
fn new() -> AggregatedMetrics
fn with_metrics(metrics: Vec<AggregatedMetric>) -> AggregatedMetrics
fn aggregate_counts<'a, I>(&mut self, counts: I) where I: Iterator<Item=(&'a Dimension, &'a u64)>
fn aggregate_measures<'a, I>(&mut self, measures: I) where I: Iterator<Item=(&'a Dimension, &'a Vec<f64>)>
Rolls up all the given measures. The minimum, maximum, median, average (mean), and 95th percentile summary measures will all be emitted, as well as a total count of all the individual measures received in the period.
fn aggregate_samples<'a, I>(&mut self, samples: I) where I: Iterator<Item=(&'a Dimension, &'a f64)>
fn iter(&self) -> Iter<AggregatedMetric>
fn len(&self) -> usize
Trait Implementations
impl Debug for AggregatedMetrics
[src]
impl PartialEq for AggregatedMetrics
[src]
fn eq(&self, __arg_0: &AggregatedMetrics) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AggregatedMetrics) -> bool
This method tests for !=
.