Struct prometheus::local::LocalHistogram[][src]

pub struct LocalHistogram { /* fields omitted */ }

An unsync Histogram.

Methods

impl LocalHistogram
[src]

Add a single observation to the Histogram.

Return a LocalHistogramTimer to track a duration.

Clear the local metric.

Flush the local metrics to the Histogram metric.

Trait Implementations

impl Clone for LocalHistogram
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for LocalHistogram
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations