Grafana sends alert notifications to Warrn via a webhook contact point. When an alert fires in Grafana, Warrn creates an alert. When it resolves in Grafana, Warrn auto-resolves the matching alert.
Setup
1
Add the integration in Warrn
Open a service or team in Warrn. Go to the Integrations tab, add Grafana, and copy the generated webhook URL.
2
Create a contact point in Grafana
In Grafana, go to Alerting > Contact Points. Click Add contact point, select Webhook as the type, and paste the webhook URL from Warrn.
3
Assign to a notification policy
In Grafana, go to Alerting > Notification Policies. Assign your new contact point to the alert rules you want routed to Warrn.
How it works
Grafana sends a JSON payload containing an array of alerts. Each alert has astatus field (firing or resolved).
- Firing alerts create a new alert in Warrn. If a matching alert already exists (same fingerprint), it increments the occurrence count instead.
- Resolved alerts auto-resolve the matching Warrn alert by fingerprint.
Field mapping
Severity mapping
Warrn maps theseverity label from your Grafana alert rules:
Add a
severity label to your Grafana alert rules for accurate mapping. Without it, all alerts default to medium.