adjusted per Evan R suggestions in open MR

Adjusted a few different areas per Evan R's suggestions within the open
MR for this branch.
This commit is contained in:
caleb 2019-03-04 09:13:06 -06:00
parent e915d962f0
commit c4349575aa

View file

@ -1,6 +1,7 @@
# Health Check # Health Check
> **Notes:** > **Notes:**
> - Liveness and readiness probes were [introduced][ce-10416] in GitLab 9.1. > - Liveness and readiness probes were [introduced][ce-10416] in GitLab 9.1.
> - The `health_check` endpoint was [introduced][ce-3888] in GitLab 8.8 and will > - The `health_check` endpoint was [introduced][ce-3888] in GitLab 8.8 and will
> be deprecated in GitLab 9.1. Read more in the [old behavior](#old-behavior) > be deprecated in GitLab 9.1. Read more in the [old behavior](#old-behavior)
@ -22,7 +23,7 @@ To access monitoring resources, the requesting client IP needs to be included in
## Using the endpoints ## Using the endpoints
With default whitelist settings, the probes can be accessed from localhost using the following format: With default whitelist settings, the probes can be accessed from localhost using the following URLs:
- `http://localhost/-/health` - `http://localhost/-/health`
- `http://localhost/-/readiness` - `http://localhost/-/readiness`
@ -36,7 +37,7 @@ GitLab OK
The readiness and liveness probes will provide a report of system health in JSON format. The readiness and liveness probes will provide a report of system health in JSON format.
`Readiness` probe example output: `readiness` probe example output:
```json ```json
{ {
@ -58,7 +59,7 @@ The readiness and liveness probes will provide a report of system health in JSON
} }
``` ```
`Liveness` probe example output: `liveness` probe example output:
```json ```json
{ {