Function near_metrics::try_create_int_counter_vec [−][src]
pub fn try_create_int_counter_vec(
name: &str,
help: &str,
labels: &[&str]
) -> Result<IntCounterVec>
Attempts to crate an IntCounterVec
, returning Err
if the registry does not accept the counter
(potentially due to naming conflict).