/health
返回网关服务自身及所有上游微服务的健康状态,用于负载均衡器和监控系统探活
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 所有服务健康 | main.swaggerHealthResponse |
| 503 | 部分服务不健康 | main.swaggerHealthResponse |
Referenced Schemas
main.swaggerHealthResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
checks |
object |
No | extra keys: `string` | ||
checks_latency |
object |
No | extra keys: `string` | ||
service |
string |
No | |||
status |
string |
No | |||
timestamp |
string |
No | |||
uptime |
string |
No | |||
version |
string |
No |