From c4bf722f365fee84a4ad635bc2370f0fc0cfe6dd Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 22 Oct 2020 09:22:36 -0600 Subject: [PATCH] added response information for 1.8 health endpoint, resolves influxdata/DAR#135 (#1691) --- content/influxdb/v1.8/tools/api.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/influxdb/v1.8/tools/api.md b/content/influxdb/v1.8/tools/api.md index 8bd41eb8b..879db6da2 100644 --- a/content/influxdb/v1.8/tools/api.md +++ b/content/influxdb/v1.8/tools/api.md @@ -146,6 +146,12 @@ Use this endpoint to check the health of your InfluxDB instance. curl -XGET "localhost:8086/health" ``` +##### /health endpoint responses +| Response code | Health | Message | Status | +|:------------- |:------ |:------- | ------:| +| 200 | Healthy | `ready for queries and writes` | `pass` | +| 503 | Unhealthy | | `fail` | + --- ## InfluxDB 1.x HTTP endpoints