Struct metrix::instruments::Histogram
[−]
[src]
pub struct Histogram { /* fields omitted */ }
For tracking values. E.g. request latencies
Methods
impl Histogram
[src]
pub fn new_with_defaults<T: Into<String>>(name: T) -> Histogram
[src]
pub fn name(&self) -> &str
[src]
pub fn set_name<T: Into<String>>(&mut self, name: T)
[src]
pub fn set_title<T: Into<String>>(&mut self, title: T)
[src]
pub fn set_description<T: Into<String>>(&mut self, description: T)
[src]
Trait Implementations
impl Instrument for Histogram
[src]
impl PutsSnapshot for Histogram
[src]
fn put_snapshot(&self, into: &mut Snapshot, descriptive: bool)
[src]
Puts the current snapshot values into the given Snapshot
thereby following the guidelines of PutsSnapshot
. Read more
impl Updates for Histogram
[src]
fn update(&mut self, with: &Update)
[src]
Update the internal state according to the given Update
. Read more