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