[−][src]Trait witchcraft_metrics::Reservoir
A statistically representative subset of a set of values.
Required methods
fn update(&self, value: i64)
Adds a value to the reservoir.
fn snapshot(&self) -> Box<dyn Snapshot>
Returns a snapshot of statistics about the values in the reservoir.