Trait AggregateRecorder

Source
pub trait AggregateRecorder {
    // Required methods
    fn store(&mut self, record: Record);
    fn flush(&mut self, step: i64);
}
Expand description

Stores records, then aggregates them and writes to an output destination.

Required Methods§

Source

fn store(&mut self, record: Record)

Store the record.

Source

fn flush(&mut self, step: i64)

Writes values aggregated from the stored records.

Implementors§