Call me if Grafana fires
Grafana's alerts can make your phone show a full-screen alert until you answer. It takes one contact point in Grafana and one alert source in Call Me If, about five minutes.
1. Make an alert source in Call Me If
- Sign in at callmeif.app and open Alert sources.
- Create a source and name it after what it watches, for example Grafana production.
- Copy the key it shows you. It is shown once. The address is
https://api.callmeif.app/api/v1/alerts.
Then, in the app, write the rule that decides what happens, such as "Call me if Grafana production fires", and choose Alert me, or Alert me, then call me for the alerts worth waking up for.
2. Add a contact point in Grafana
- In Grafana, go to Alerting → Contact points and click + Add contact point.
- Name:
Call Me If. Integration: Webhook. - URL:
https://api.callmeif.app/api/v1/alerts - Open Optional Webhook settings. Under Authorization Header, leave the Scheme as
Bearerand paste your key into Credentials. - Click Test. Your phone should show the alert within a few seconds.
- Click Save contact point.
- Send the alerts you care about to it: Alerting → Notification policies, then choose this contact point on the default policy or on a policy for the labels you want.
What alerts you, and what does not
The alert's title is what the alert screen shows, and Grafana's message becomes its text.
When the problem clears, the alert stops. Grafana sends a second message marked resolved. That message never alerts you, and if you have not answered yet, the alert it clears stops there: no further alert, no phone call, no backup person. Keep Disable resolved message switched off in the contact point's optional settings, so Grafana sends it.
A Grafana alert that fires again and again counts as one. Repeats of the same alert are counted on it and do not alert you again, while it is still running (up to an hour) and within five minutes of it.
The key only creates alerts. It cannot read your history or anything else in your account. If it leaks, replace it on the source's page and paste the new one into Grafana.
If the test does not alert you
- 401 in Grafana: the key is wrong, or it was replaced. Copy it again from the source's page.
- It arrived but no alert showed: check the phone's setup in the app. Home says whether this phone is ready, and what to fix.
Call Me If is not for medical, emergency or life-safety use.