From 92a740f34d0b7f9dead8f1880f66984bc1f2dfcf Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Wed, 26 Jul 2017 13:47:50 -0700 Subject: [PATCH] Documentation/v2: update /health response Signed-off-by: Gyu-Ho Lee --- Documentation/v2/admin_guide.md | 4 ++-- Documentation/v2/other_apis.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/v2/admin_guide.md b/Documentation/v2/admin_guide.md index f3f4431e26ed..66bec34a1862 100644 --- a/Documentation/v2/admin_guide.md +++ b/Documentation/v2/admin_guide.md @@ -45,12 +45,12 @@ It is important to monitor your production etcd cluster for healthy information #### Health Monitoring -At lowest level, etcd exposes health information via HTTP at `/health` in JSON format. If it returns `{"health": "true"}`, then the cluster is healthy. Please note the `/health` endpoint is still an experimental one as in etcd 2.2. +At lowest level, etcd exposes health information via HTTP at `/health` in JSON format. If it returns `{"health":true}`, then the cluster is healthy. ``` $ curl -L http://127.0.0.1:2379/health -{"health": "true"} +{"health":true} ``` You can also use etcdctl to check the cluster-wide health information. It will contact all the members of the cluster and collect the health information for you. diff --git a/Documentation/v2/other_apis.md b/Documentation/v2/other_apis.md index 339d9f8e55ed..dfea231c2ff6 100644 --- a/Documentation/v2/other_apis.md +++ b/Documentation/v2/other_apis.md @@ -29,5 +29,5 @@ curl http://10.0.0.10:2379/health ``` ```json -{"health": "true"} +{"health":true} ```