Incident and on-call
Grafana OnCall
Send payment alerts to Grafana IRM (OnCall) on Grafana Cloud or your own server, grouped per payment and ready to route.
What you get
Each notification arrives as an alert on a Grafana IRM (OnCall) Formatted Webhook integration, on Grafana Cloud or your own server:
- a title that leads with the subscription and what happened, such as
Figma Organization has 2 overdue payments; - a message with every fact, every unpaid payment for overdue alerts, and the workspace;
- a link back to the subscription in SysCost, and the provider’s logo when it can be shown;
- a
syscostobject withevent,urgency,subscriptionanddue_date, for routes and templates.
OnCall alerts have no severity field, so route on payload.syscost.urgency, for example with the routing template {{ payload.syscost.urgency == "high" }}:
| SysCost event | syscost.urgency | A route might |
|---|---|---|
| Overdue payment, Marked failed | high | Escalate to whoever is on call. |
| Upcoming payment | low | Notify a channel without paging. |
| Marked paid, Skipped | info | Keep for the record. |
Every alert has an alert_uid made of the subscription, the due date and the event, such as syscost:…:2026-10-01:payment_overdue, so a daily overdue reminder is grouped with the earlier ones. SysCost doesn’t resolve alert groups: when the payment is paid, resolve the group in Grafana.
Before you start
SysCost sends to a Formatted Webhook integration. Its webhook URL is all SysCost needs, plus a token if you require one.
Add the integration
In Grafana IRM, open the Integrations tab, choose Monitoring systems and select Formatted Webhook (not Webhook).
Create it
Select + New integration, enter a name such as “SysCost”, a description and a team, then Create Integration.
Copy the webhook URL
Copy the Webhook URL from the integration’s page. It contains
/integrations/v1/formatted_webhook/.Optional: require a token
If you turn on Require a Grafana service account token to send alerts to this integration, create a service account token with the alert groups: write permission. It starts with
glsa_.
The URL is a secret
Unless the integration requires a token, anyone who has the URL can send alerts to it. SysCost hides the URL and the token once you save.
Grafana’s own guide: Webhook and Formatted Webhook integrations.
Add the channel
Workspace admins and owners can add channels.
Open Channels
In SysCost, open Notifications, then Channels, and choose + Channel.
Choose Grafana OnCall
Pick Grafana OnCall from the list of channels (type its name in Search channels to find it quickly). Give the channel a Name your team will recognise, such as
#finance alerts.Fill in the details
Paste the URL into Webhook URL. If the integration requires a token, paste it into Service account token; otherwise leave it empty.
Create
Choose Create. SysCost checks the details and saves the channel.
Pro and Team
Grafana OnCall is part of the Pro and Team plans. Slack, Discord, Telegram and email are on every plan. See pricing.
Test it and add a rule
Send a test
On the channel, pick a sample (Upcoming payment, Overdue payment, Marked paid, Marked failed or Skipped) and choose Send test. A test message starts with “🧪 Test” and appears in Grafana as a new alert group within seconds. The result shows at once and in the delivery log.
Add a rule
Open Rules, choose + Rule, pick which subscriptions it covers and which events to send, and tick this channel under Send to. See rules and delivery for every option.
Keep the details private
Anyone who has the channel’s secret details can post to it. SysCost hides them once you save; to change them, type new ones when you edit the channel (blank keeps the stored value).
Troubleshooting
Problems with the details show when you save. Problems at delivery show in Notifications → Delivery log, next to each attempt. SysCost shows the status code the service returned, never its reply. A 4xx status is not retried: fix the channel, then send a test.
| What you see | What to do |
|---|---|
| “Invalid channel configuration: webhook_url must be the URL of a Formatted Webhook integration (…/integrations/v1/formatted_webhook/…/).” | Create a Formatted Webhook integration and use its URL. A plain Webhook integration shows the raw payload, so its URL isn’t accepted. |
| “Invalid channel configuration: webhook_url: Use the standard HTTPS port (443).” | Remove the port from the URL. A self-hosted OnCall server must be reachable on the standard HTTPS port. |
| “Destination responded with status 403.” | The integration requires a service account token and SysCost has none, or the token lacks alert groups: write. Add or replace the token. |
| “Destination responded with status 404.” | The integration was deleted, or the URL is incomplete. Copy the URL again. |
| “The destination did not respond in time.” | The service took longer than 10 seconds. SysCost retries automatically; if it keeps happening, check the service’s status page. |
| “Could not connect to the destination.” or “The destination host could not be found.” | A network problem. SysCost retries automatically. |
| A reminder never arrived and the log has no entry for it | No enabled rule sends that event to this channel, the channel is disabled, or the subscription is paused. See which rules apply in rules and delivery. |