pub async fn check_system_health_detailed( ns: &str, pool: Option<&PgPool>, ) -> Result<SystemHealthStatus>