Struct prometheus::local::LocalHistogramVec
[−]
[src]
pub struct LocalHistogramVec { /* fields omitted */ }
LocalHistogramVec
can only be access by a single thread, like LocalHistogram
.
You can use the LocalHistogramVec
, if you very care the performance.
Methods
impl LocalHistogramVec
[src]
fn with_label_values<'a>(&'a mut self, vals: &[&str]) -> &'a LocalHistogram
[src]
Get a LocalHistogram
by label values.
See more MetricVec::with_label_values
fn remove_label_values(&mut self, vals: &[&str]) -> Result<()>
[src]
Remove a LocalHistogram
by label values.
See more MetricVec::remove_label_values
fn flush(&mut self)
[src]
flush
flushes the local metrics to the HistogramVec metric.
Trait Implementations
impl Clone for LocalHistogramVec
[src]
fn clone(&self) -> LocalHistogramVec
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more