pub fn init_metrics() -> Result<(), Error>
Initializes the shared Prometheus registry.
Returns a Prometheus error when a built-in collector cannot be registered.