Connect Grafana alerting to Amonit
Amonit team · Updated
Short answer: in Grafana, add a Webhook contact point with your Amonit integration URL, leave resolved messages on, and point a notification policy at it.
1. Create the integration
In your Amonit instance (yourteam.amonit.dev), an admin opens Integrations → Add Integration, picks the type Grafana and a team, and saves. The integration’s page then shows the webhook URL and a Send test alert button.
The URL contains the integration’s token, so treat it like a password. If it leaks, regenerate the token on the same page: the old URL stops working from the next request.
The team needs an escalation policy, or nobody on a rota is paged. In that case, Amonit emails the admins and notes it on the alert’s timeline.
2. Add a contact point in Grafana
- Go to Alerts & IRM → Alerting → Notification configuration, open the Contact points tab and click + Add contact point.
- Enter a name and choose Webhook under Integration.
- Set the URL:
https://yourteam.amonit.dev/api/v1/integrations/events - Under the authorization settings, keep the header scheme
Bearerand put your token in Authentication Header Credentials. Grafana advises against tokens in URLs, because the URL is stored in plain text. The URL shown in Amonit, with the token inside, works too. - Leave Disable resolved message off, so that alerts close in Amonit when they resolve in Grafana.
- Save the contact point, then use Test. The test creates an alert in Amonit and notifies real people.
3. Route alerts to it
Point a notification policy at the contact point. Use a label matcher, such as severity=critical, if only some alerts should page people.
Set the severity label
Amonit takes the priority from the severity label. Without one, the alert is P3.
severity |
Priority |
|---|---|
critical |
P1 |
error, high |
P2 |
warning |
P3 |
info |
P5 |
| anything else, or none | P3 |
What Amonit does with the payload
| Grafana field | In Amonit |
|---|---|
fingerprint |
deduplication key |
labels.alertname + annotations.summary |
alert message (description if there’s no summary) |
labels, annotations, values |
shown on the alert page |
generatorURL, dashboardURL, panelURL, silenceURL |
links on the alert page: rule, dashboard, panel, silence |
status: resolved |
closes the alert and stops the escalation |
See how alerts reach people for schedules, escalation and what a call sounds like.
Checked against the product and the tool’s documentation on 7 November 2026. Corrections: [email protected].