pub fn try_install_freezable(
) -> Result<FreezableRecorder, SetRecorderError<FreezableRecorder>>
Expand description

Tries to install a default FreezableRecorder (backed by the prometheus::default_registry()) with the metrics::set_global_recorder().

Errors

If the FreezableRecorder fails to be installed with the metrics::set_global_recorder().