Skip to content

Commit

Permalink
Document /api/health
Browse files Browse the repository at this point in the history
Document the health check implemented in grafana#3302 (and grafana#935), see  grafana#3302 (comment)
  • Loading branch information
finkr authored Jan 25, 2019
1 parent d160851 commit 1fc5ea1
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion docs/sources/http_api/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,29 @@ HTTP/1.1 200
Content-Type: application/json
{"message": "Logged in"}
```
```

# Health API

## Returns health information about Grafana

`GET /api/health`

**Example Request**

```http
GET /api/health
Accept: application/json
```

**Example Response**:

```http
HTTP/1.1 200 OK
{
"commit": "087143285",
"database": "ok",
"version": "5.1.3"
}
```

0 comments on commit 1fc5ea1

Please sign in to comment.