mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
Feature: support multiple checks for healthchecks widget (#2580)
* Change healthchecks online/offline with the original up/down * Add group statistics to healthcheck widget * Update healthchecks docs --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
50c989e36a
commit
1103df2b64
5 changed files with 51 additions and 13 deletions
|
@ -3,18 +3,21 @@ title: Health checks
|
|||
description: Health checks Widget Configuration
|
||||
---
|
||||
|
||||
To use the Health Checks widget, you first need to generate an API key. To do this, follow these steps:
|
||||
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.
|
||||
|
||||
1. Go to Settings in your check dashboard.
|
||||
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.
|
||||
2. Click on API key (read-only) and then click _Create_.
|
||||
3. Copy the API key that is generated for you.
|
||||
|
||||
Allowed fields: `["status", "last_ping"]`.
|
||||
Allowed fields: `["status", "last_ping"]` for single checks, `["up", "down"]` for total stats.
|
||||
|
||||
```yaml
|
||||
widget:
|
||||
type: healthchecks
|
||||
url: http://healthchecks.host.or.ip:port
|
||||
key: <YOUR_API_KEY>
|
||||
uuid: <YOUR_CHECK_UUID>
|
||||
uuid: <CHECK_UUID> # optional, if not included total statistics for all checks is shown
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue