docs/generated/http/health-request.md
<a name="cockroach.server.serverpb.HealthRequest"></a>
HealthRequest requests a liveness or readiness check.
A liveness check is triggered via ready set to false. In this mode, an empty response is returned immediately, that is, the caller merely learns that the process is running.
A readiness check (ready == true) is suitable for determining whether user traffic should be directed at a given node, for example by a load balancer. In this mode, a successful response is returned only if the node:
Support status: public
| Field | Type | Label | Description | Support status |
|---|---|---|---|---|
| ready | bool | ready specifies whether the client wants to know whether the target node is ready to receive traffic. If a node is unready, an error will be returned. | public |