fn set_prometheus_registry(
    config: &mut Configuration
) -> Result<(), ServiceError>