Skip to main content

new_shared_metrics

Function new_shared_metrics 

Source
pub fn new_shared_metrics() -> Result<SharedMetrics, Error>
Expand description

Create a new SharedMetrics instance.

ยงErrors

Returns a prometheus::Error if metric registration fails.