diff options
author | Russell Dickenson <rdickenson@gitlab.com> | 2019-06-28 10:32:33 +1000 |
---|---|---|
committer | Russell Dickenson <rdickenson@gitlab.com> | 2019-06-28 10:32:33 +1000 |
commit | 8651c189411b89b34def81981d101257d31f029a (patch) | |
tree | eecdd880190f25a43d328ba51f1debff060f6aac | |
parent | 36451a753ac442250c1ed5a6427383817434d1ec (diff) | |
download | gitlab-ce-docs/health_check.tar.gz |
Update health check examplesdocs/health_check
-rw-r--r-- | doc/user/admin_area/monitoring/health_check.md | 51 |
1 files changed, 30 insertions, 21 deletions
diff --git a/doc/user/admin_area/monitoring/health_check.md b/doc/user/admin_area/monitoring/health_check.md index f80d4e9d2aa..35e7b6fb541 100644 --- a/doc/user/admin_area/monitoring/health_check.md +++ b/doc/user/admin_area/monitoring/health_check.md @@ -41,42 +41,51 @@ The readiness and liveness probes will provide a report of system health in JSON ```json { - "queues_check" : { - "status" : "ok" + "db_check":{ + "status":"ok" }, - "redis_check" : { - "status" : "ok" + "redis_check":{ + "status":"ok" }, - "shared_state_check" : { - "status" : "ok" + "cache_check":{ + "status":"ok" }, - "db_check" : { - "status" : "ok" + "queues_check":{ + "status":"ok" }, - "cache_check" : { - "status" : "ok" + "shared_state_check":{ + "status":"ok" + }, + "gitaly_check":{ + "status":"ok", + "labels":{ + "shard":"default" + } + } } -} ``` `liveness` probe example output: ```json { - "cache_check" : { - "status" : "ok" + "db_check":{ + "status":"ok" + }, + "redis_check":{ + "status":"ok" }, - "db_check" : { - "status" : "ok" + "cache_check":{ + "status":"ok" }, - "redis_check" : { - "status" : "ok" + "queues_check":{ + "status":"ok" }, - "queues_check" : { - "status" : "ok" + "shared_state_check":{ + "status":"ok" }, - "shared_state_check" : { - "status" : "ok" + "gitaly_check":{ + "status":"ok" } } ``` |