Skip to content

Health checks ​

Health checks send a request to each environment of your project every minute and check the response. If the response isn't what you expect, the environment is marked as unhealthy, and you can be notified about it.

Enable health checks ​

Health checks are enabled by our team. If they aren't enabled for your project yet, "Health Checks are disabled!" is shown under Settings > Health Check of your project. Contact our support team to enable them.

Configure health checks ​

The health check configuration applies to all environments of a project. You'll find it in the "Settings" tab of your project, under Health Check.

The Requests settings of the health check with the HTTP method, path, timeout and maximum redirects

Requests ​

  • HTTP verb/method: The HTTP method of the request, e.g. GET.
  • Path: An additional path appended to the domain of the environment, e.g. /health. Without a path, the start page is checked.
  • Timeout in seconds: If there's no response within this time, the environment is marked as unhealthy.
  • Maximum redirects: How many redirects are followed. If there are more redirects, the environment is marked as unhealthy.

The request is sent to the direct domain of the environment, e.g. 6f1c2a4e-8b3d-4e5f-9a7b-2c8d4e6f8a1b.env.hubblestudio.io, not to your custom domains.

Responses ​

  • Valid status codes: If the response has one of these status codes, the environment is healthy. You can use wildcards, e.g. 2* for every status code from 200 to 299.

Notifications ​

  • Unhealthy checks before notification: How many checks in a row need to be unhealthy before the "Health Check deteriorated" notification is sent. This avoids notifications for short interruptions, e.g. during a deployment.

Once the environment has been unhealthy for that many checks, the "Health Check recovered" notification is sent with the next healthy check.

Click on "Save" to apply your changes. They're used for the next check.

View the results ​

  1. Open the environment and click on the "Checks" tab.
  2. The Overview shows whether the environment is currently healthy.
  3. Click on "Health Check" to see the latest check in the Report tab:
    • Request: The URL that was checked and when it was checked.
    • Response: The status code, the response headers and the redirects that were followed. If no response was received, the reason is shown instead, e.g. a timeout.
The report of the latest health check with the requested URL, the status code and the response headers

The History tab lists the previous checks with their state. Click on a date to open the report of that check.

The history of the health checks with their state and date