diff options
author | Joshua Lambert <joshua@gitlab.com> | 2017-04-10 21:02:01 -0400 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-04-20 19:43:29 +0200 |
commit | c358ded1449158b1de5dd5edece63e2d8aacca7d (patch) | |
tree | b0cc7961f2e4a39ea4fc9bbb7e7ba3321f7422a4 | |
parent | fbe8fce94906b928e86f30a020df68f16f849846 (diff) | |
download | gitlab-ce-c358ded1449158b1de5dd5edece63e2d8aacca7d.tar.gz |
Update based on feedback
-rw-r--r-- | doc/user/admin_area/monitoring/health_check.md | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/doc/user/admin_area/monitoring/health_check.md b/doc/user/admin_area/monitoring/health_check.md index 316e5b1155e..6825c537daf 100644 --- a/doc/user/admin_area/monitoring/health_check.md +++ b/doc/user/admin_area/monitoring/health_check.md @@ -1,5 +1,3 @@ - - ## Liveness and Readiness Probes > [Introduced][ce-10416] in GitLab 9.1. @@ -15,24 +13,24 @@ accepted token can be found on the `admin/health_check` page of your GitLab inst The access token can be passed as a URL parameter: ``` -https://gitlab.example.com/-/readiness?token=?token=ACCESS_TOKEN +https://gitlab.example.com/-/readiness?token=ACCESS_TOKEN ``` which will then provide a report of system health in JSON format: ``` { -"db_check": { -"status": "ok" -}, -"redis_check": { -"status": "ok" -}, -"fs_shards_check": { -"status": "ok", -"labels": { -"shard": "default" -} -} + "db_check": { + "status": "ok" + }, + "redis_check": { + "status": "ok" + }, + "fs_shards_check": { + "status": "ok", + "labels": { + "shard": "default" + } + } } ``` @@ -40,8 +38,8 @@ which will then provide a report of system health in JSON format: Once you have the access token, the probes can be accessed: -- `https://gitlab.example.com/-/readiness?token=?token=ACCESS_TOKEN` -- `https://gitlab.example.com/-/liveness?token=?token=ACCESS_TOKEN` +- `https://gitlab.example.com/-/readiness?token=ACCESS_TOKEN` +- `https://gitlab.example.com/-/liveness?token=ACCESS_TOKEN` ### Status |