Cloud
Health Aggregation
Multi-service health monitoring and status aggregation.
Overview
The health aggregator polls multiple downstream services in parallel and combines their health status into a single aggregated report. Ideal for API gateways and operational dashboards.
Usage
typescript
Response Format
json
Status Levels
| Status | Condition |
|---|---|
healthy | All services are responding |
degraded | Some services are timing out |
unhealthy | One or more services are down |
Adding Services Dynamically
typescript
Exposing as an Endpoint
typescript
Service Configuration
| Option | Type | Default | Description |
|---|---|---|---|
name | string | — | Service display name |
url | string | — | Health check URL |
timeoutMs | number | 5000 | Request timeout in milliseconds |
headers | object | — | Custom headers for the health check |