Enum cernan::metric::AggregationMethod [−][src]
pub enum AggregationMethod { Sum, Set, Summarize, Histogram, }
The available aggregations for Telemetry
.
This enumeration signals the way in which Telemetry
values will be
aggregated. The exact descriptions are detailed below.
Variants
Sum
Cumulatively add Telemetry
objects. That is, we store only the
summation of all like-points.
Set
Store only the last value of the Telemetry
aggregation. The exact
ordering within a bin will depend on order of receipt by cernan.
Summarize
Produce a quantile query structure over the Telemetry
stream. The
method is quantiles::CKMS
, a summarization that is cheap in write and
read time and has guaranteed error bounds on queries.
Histogram
Produce a binned histogram over the Telemetry
stream. The method used
is that of quantiles::Histogram
, unequal bins with a preference for
write over read speed.
Trait Implementations
impl Debug for AggregationMethod
[src]
impl Debug for AggregationMethod
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AggregationMethod
[src]
impl Clone for AggregationMethod
fn clone(&self) -> AggregationMethod
[src]
fn clone(&self) -> AggregationMethod
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for AggregationMethod
[src]
impl Copy for AggregationMethod
impl PartialEq for AggregationMethod
[src]
impl PartialEq for AggregationMethod
fn eq(&self, other: &AggregationMethod) -> bool
[src]
fn eq(&self, other: &AggregationMethod) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl PartialOrd for AggregationMethod
[src]
impl PartialOrd for AggregationMethod
fn partial_cmp(&self, other: &AggregationMethod) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &AggregationMethod) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Eq for AggregationMethod
[src]
impl Eq for AggregationMethod
impl Hash for AggregationMethod
[src]
impl Hash for AggregationMethod
Auto Trait Implementations
impl Send for AggregationMethod
impl Send for AggregationMethod
impl Sync for AggregationMethod
impl Sync for AggregationMethod