Update healthchecks docs
This commit is contained in:
parent
d4ab1439b4
commit
1b45ad3977
@ -3,16 +3,21 @@ title: Health checks
|
|||||||
description: Health checks Widget Configuration
|
description: Health checks Widget Configuration
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Specify a single check by including the `uuid` field or show the total 'up' and 'down' for all
|
||||||
|
checks by leaving off the `uuid` field.
|
||||||
|
|
||||||
To use the Health Checks widget, you first need to generate an API key.
|
To use the Health Checks widget, you first need to generate an API key.
|
||||||
|
|
||||||
1. In your project, go to project Settings on the navigation bar.
|
1. In your project, go to project Settings on the navigation bar.
|
||||||
2. Click on API key (read-only) and then click _Create_.
|
2. Click on API key (read-only) and then click _Create_.
|
||||||
3. Copy the API key that is generated for you.
|
3. Copy the API key that is generated for you.
|
||||||
|
|
||||||
|
Allowed fields: `["status", "last_ping"]` for single checks, `["up", "down"]` for total stats.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
widget:
|
widget:
|
||||||
type: healthchecks
|
type: healthchecks
|
||||||
url: http://healthchecks.host.or.ip:port
|
url: http://healthchecks.host.or.ip:port
|
||||||
key: <YOUR_API_KEY>
|
key: <YOUR_API_KEY>
|
||||||
uuid: <YOUR_CHECK_UUID> # optional, if not present group statistics is shown
|
uuid: <CHECK_UUID> # optional, if not included total statistics for all checks is shown
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user