Honeycomb Health Check
No items found.
Honeycomb Health Checks use Triggers to monitor a service's health during testing. Before configuring the Health Check, identify which Trigger you want to use. For this example, we’ll use a Trigger called frontend-service
.
- Open the Health Checks page in the Gremlin web app and click + Health Check.
- If you’ve already authenticated Honeycomb in Gremlin, skip the following steps. Otherwise:some text
- Follow the instructions in the Honeycomb documentation to create an API key. This needs to be a configuration key.
- In the Gremlin web app, click the Observability Tool drop-down and select Custom.
- Enter a name in the Observability Tool Nickname box, such as “Honeycomb.”
- Under Does this observability tool have multiple regions, select No.
- Under Is this observability tool behind a firewall or on-prem, select No.
- In the Authentication Endpoint box, enter https://api.honeycomb.io/.
- Click + Add Header to add a new HTTP header.
- In the Key field, enter
X-Honeycomb-Team
. In the Value field, enter your Honeycomb API key. - Click Save.
- Click Next.
- Enter a name for the Health Check.
- In the Monitor or Alert URL box, enter the URL for your Trigger. For example, if your Trigger is named
frontend-service
, you would enterhttps://api.honeycomb.io/1/triggers/frontend-service
. - Click Test Connection. Gremlin will send a GET request and display the JSON response.
- Adjust the Success Evaluation criteria to your needs. This will depend on your Trigger and its contents, but for a basic check, you can use the triggered boolean property. To do so, enter the following values:some text
- Key:
.[0][‘triggered’]
- Key Type: Boolean
- Comparator:
=
- Value: false
- For custom and more advanced criteria, see adding success evaluation criteria.
- Key:
- Click Test Evaluation to send a test request. This will ensure that your criteria are valid and that the response meets them.
- Click Create Health Check.