Function near_metrics::try_create_histogram_vec
source · [−]pub fn try_create_histogram_vec(
name: &str,
help: &str,
labels: &[&str],
buckets: Option<Vec<f64>>
) -> Result<HistogramVec>
Expand description
Attempts to create a HistogramVector
, returning Err
if the registry does not accept the counter
(potentially due to naming conflict).