pub fn init_metrics_or_noop<I, B, E, R>(
init_metrics: I,
build_recorder: B,
) -> SharedMetricsRecorderExpand description
Initializes a concrete metrics backend or falls back to NoopMetrics.
Product crates own concrete exporters and feature flags. This helper only centralizes the common startup mechanics used by Aster services: try to initialize the product metrics backend, return the concrete recorder on success, and keep startup working with a no-op recorder on initialization failure.