Struct dipstick::aggregate::MetricAggregator
[−]
[src]
pub struct MetricAggregator { /* fields omitted */ }
Central aggregation structure.
Since AggregateKey
s themselves contain scores, the aggregator simply maintains
a shared list of metrics for enumeration when used as source.
Methods
impl MetricAggregator
[src]
fn new() -> MetricAggregator
[src]
Build a new metric aggregation point.
Trait Implementations
impl Debug for MetricAggregator
[src]
impl AsSource for MetricAggregator
[src]
fn as_source(&self) -> AggregateSource
[src]
Get the metric source.
impl AsSink<AggregateSink> for MetricAggregator
[src]
fn as_sink(&self) -> AggregateSink
[src]
Get the metric sink.