pub fn install_prometheus_recorder() -> &'static PrometheusRecorder
Expand description
Installs the Prometheus recorder as the global recorder.
Note: This must be installed before any metrics are described
.
Caution: This only configures the global recorder and does not spawn the exporter.
Callers must run PrometheusRecorder::spawn_upkeep
manually.