Struct metrix::instruments::Histogram[][src]

pub struct Histogram { /* fields omitted */ }

For tracking values. E.g. request latencies

Methods

impl Histogram
[src]

Sets the maximum amount of time this histogram may be inactive until no more snapshots are taken

Default is no inactivity tracking.

Reset the histogram if inactivity tracking was enabled and the histogram was inactive.

The default is true. Only has an effect if a max_inactivity_duration is set.

Trait Implementations

impl Instrument for Histogram
[src]

impl PutsSnapshot for Histogram
[src]

Puts the current snapshot values into the given Snapshot thereby following the guidelines of PutsSnapshot. Read more

impl Updates for Histogram
[src]

Update the internal state according to the given Update. Read more

impl Descriptive for Histogram
[src]

Auto Trait Implementations

impl Send for Histogram

impl Sync for Histogram