Start your 30 day free trial.
START FOR FREE
Docs Home

Prometheus Health Check

No items found.

Prometheus health checks are configured similarly to custom health checks. To add Prometheus, you'll need the REST API endpoint of your Prometheus server and basic authentication headers.

To add a Prometheus Health Check:

  1. Open the Health Checks page in the Gremlin web app, click + Health Check, then select Prometheus from the Integrations drop-down.
  2. If Prometheus is already authenticated, skip the following steps. Otherwise:
    1. In the Prometheus web app, create your basic authentication password.
    2. In the Gremlin web app under the Authentication section, click + Add Value to add a new key/value pair.
    3. In the Name text box, enter "Authorization".
    4. In the Value text box, enter the text "Basic " followed by your basic authentication password.
    5. Click Authenticate Observability Tool. If the authentication is successful, click Save Authentication.
    6. In Prometheus, copy the URL of the monitor you want to use.
  3. Back in the Gremlin web app, paste the URL into the Endpoint URL text box.
  4. Click Test Health Check. Gremlin will send a test request and validate that it receives a JSON response.
  5. Gremlin displays a Healthy Response Body Criteria form, where you can enter the JSON path of a specific field and compare its value to an expected value. See the custom Health Check documentation for more guidance.
  6. Click Save.
Evaluating a JSON path in Gremlin
On this page
Back to top