pub type HistogramVec = MetricVec<HistogramVecBuilder>;Expand description
Aliased Type§
pub struct HistogramVec { /* private fields */ }Implementations§
Source§impl HistogramVec
impl HistogramVec
Sourcepub fn new(opts: HistogramOpts, label_names: &[&str]) -> Result<HistogramVec>
pub fn new(opts: HistogramOpts, label_names: &[&str]) -> Result<HistogramVec>
Create a new HistogramVec based on the provided
HistogramOpts and partitioned by the given label names. At least
one label name must be provided.
Sourcepub fn local(&self) -> LocalHistogramVec
pub fn local(&self) -> LocalHistogramVec
Return a LocalHistogramVec for single thread usage.