pub fn build_recorder() -> Result<(PrometheusRecorder, PrometheusHandle), BuildError>Expand description
Builds a configured PrometheusRecorder and its PrometheusHandle
without installing it globally.
Use this in tests together with metrics::with_local_recorder to keep
test runs isolated from one another and from the global recorder.
ยงErrors
Returns BuildError when bucket values are empty or otherwise invalid.