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

Cumulatively add Telemetry objects. That is, we store only the summation of all like-points.

Store only the last value of the Telemetry aggregation. The exact ordering within a bin will depend on order of receipt by cernan.

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.

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]

Formats the value using the given formatter. Read more

impl Clone for AggregationMethod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AggregationMethod
[src]

impl PartialEq for AggregationMethod
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for AggregationMethod
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

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 Hash for AggregationMethod
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations