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