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