The documentation you are viewing is for Dapr v1.9 which is an older version of Dapr. For up-to-date documentation, see the latest version.
Health API reference
Detailed documentation on the health API
Dapr provides health checking probes that can be used as readiness or liveness of Dapr.
Get Dapr health state
Gets the health state for Dapr.
HTTP 请求
GET http://localhost:<daprPort>/v1.0/healthz
HTTP 响应码
代码 | 说明 |
---|---|
204 | dapr is healthy |
500 | dapr is not healthy |
URL 参数
参数 | 说明 |
---|---|
daprPort | Dapr 端口。 |
示例
curl http://localhost:3500/v1.0/healthz
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.