Alerting From Prometheus

Prometheus Alertmanager provides alerting functionality for checks as an IT automation.

To trigger an alert using Prometheus, follow these steps:

  1. Within GoAlert, on the Services page, select the service you want to process the alert. Under Integration Keys, add a key by clicking on the “+” icon at the bottom right of the screen. Then enter the following details for the new integration key:

    • Key Name: Enter a name for the key.
    • Key Type: Prometheus Alertmanager
    • Click Add Key. Copy the generated URL and keep it handy, as you’ll need it for the next step.
  2. In Prometheus Alertmanager, enable a webhook by adding a webhook receiver in the alertmanager configuration file:

receivers:
- name: 'service'
  webhook_configs:
  - url: '<prometheus_alertmanager_webhook_url_from_previous_step>'
    send_resolved: true