Skip to main content

install_recorder

Function install_recorder 

Source
pub fn install_recorder() -> Result<PrometheusHandle, BuildError>
Expand description

Install the process-wide Prometheus recorder.

§Errors

[BuildError] if the bucket configuration is rejected or a recorder is already installed — both are startup faults, reported rather than panicked.