Struct dipstick::Scoreboard
[−]
[src]
pub struct Scoreboard { /* fields omitted */ }
A metric that holds aggregated values. Some fields are kept public to ease publishing.
Methods
impl Scoreboard
[src]
fn new(kind: Kind, name: String) -> Self
[src]
Create a new Scoreboard to track summary values of a metric
fn update(&self, value: Value)
[src]
Update scores with new value
fn reset(&self) -> Option<ScoreSnapshot>
[src]
Map raw scores (if any) to applicable statistics