Struct prometheus::local::LocalCounterVec
[−]
[src]
pub struct LocalCounterVec { /* fields omitted */ }
Methods
impl LocalCounterVec
[src]
fn with_label_values<'a>(&'a mut self, vals: &[&str]) -> &'a mut LocalCounter
[src]
Get a LocalCounter
by label values.
See more MetricVec::with_label_values
fn remove_label_values(&mut self, vals: &[&str]) -> Result<()>
[src]
Remove a LocalCounter
by label values.
See more MetricVec::remove_label_values
fn flush(&mut self)
[src]
flush
flushes the local metrics to the CounterVec metric.
Trait Implementations
impl Clone for LocalCounterVec
[src]
fn clone(&self) -> LocalCounterVec
[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