I am trying to build a high-level health visualization for an API Gateway environment. There are N backend services registered behind the gateway, and each service has a few critical health checks (for example: connectivity, latency threshold, and error rate). Each service’s overall health is derived from these checks: if all health checks are passing, the service should be shown in green; if exactly one health check is failing, the service should be shown in orange; and if more than one health check is failing, the service should be shown in red.