Struct metrix::instruments::other_instruments::ValueMeter[][src]

pub struct ValueMeter { /* fields omitted */ }

A meter that is ticked by values instead of observations

Methods

impl ValueMeter
[src]

Rates below this value will be shown as zero.

Default is 0.001

Enable tracking of one minute rates.

Default: enabled

Enable tracking of five minute rates.

Default: disabled

Enable tracking of one minute rates.

Default: disabled

Trait Implementations

impl Instrument for ValueMeter
[src]

impl PutsSnapshot for ValueMeter
[src]

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

impl Updates for ValueMeter
[src]

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

impl Descriptive for ValueMeter
[src]

Auto Trait Implementations

impl Send for ValueMeter

impl !Sync for ValueMeter