Skip to main content

init_metrics

Function init_metrics 

Source
pub fn init_metrics()
Expand description

Registers every metric this crate declares.

Without this, a metric is only exported after the code path that observes it has run, so a rarely-taken path leaves its panels blank and makes a routine restart look like the metric was removed.