Back to Homepage

Health checks

docs/widgets/services/healthchecks.md

1.12.3752 B
Original Source

Learn more about Health Checks.

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.

  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"] for single checks, ["up", "down"] for total stats.

yaml
widget:
  type: healthchecks
  url: http://healthchecks.host.or.ip:port
  key: <YOUR_API_KEY>
  uuid: <CHECK_UUID> # optional, if not included total statistics for all checks is shown