Function metrics_prometheus::install
source · pub fn install() -> Recorder
Expand description
Installs a default Recorder
(backed by the
prometheus::default_registry()
) with the
metrics::set_global_recorder()
.
Panics
If the Recorder
fails to be installed with the
metrics::set_global_recorder()
.