Integrating with Alertmanager
Alertmanager from Prometheus handles alerts sent by applications like the Prometheus server. Use alerts from Alertmanager to power incidents and notifications in FireHydrant.
First, you need to authorize the Alertmanager integration on FireHydrant's integrations page.
Once you click Authorize Application, you'll see a webhook URL provided.
Now configure Alertmanager to send alerts to the webhook above. This is done by creating a new "receiver" in Alertmanager. You will need to add something similar to the following snippet to your configuration:
"receivers": - name: firehydrant webhook_configs: - url: "<integration-webhook-url>" "route": "routes": - receiver: firehydrant continue: true
Once Alertmanager is configured, you can setup Alert Routes to take action on your alerts based on the data included in the alert. You can automatically open new incidents, send alerts to any Slack channel, log an alert in FireHydrant, or simply ignore it. To learn more, read about Alert Routes.