Skip to main content

CounterVec

Trait CounterVec 

Source
pub trait CounterVec:
    Send
    + Sync
    + 'static {
    // Required method
    fn with_labels(&self, labels: &[&str]) -> Arc<dyn Counter> ;
}
Expand description

A counter metric family — use with_labels to get a concrete handle.

Required Methods§

Source

fn with_labels(&self, labels: &[&str]) -> Arc<dyn Counter>

Implementors§