Grafana¶
Forward alerts from Grafana (Cloud or self-hosted) to Robusta via a Grafana contact point of type Webhook.
Prerequisites¶
A Robusta account with API access.
Your Robusta
account_id, found ingenerated_values.yaml.A Robusta API key with
Read/Writeaccess to alerts.Grafana 9.0+ with Grafana-managed alerting enabled.
Webhook URL¶
https://api.robusta.dev/webhooks?type=alert&origin=grafana&account_id=<ACCOUNT_ID>
Configure Grafana¶
In Grafana, go to Alerting → Contact points → Add contact point.
Set the integration to Webhook and name it
Robusta.Set the URL to the webhook URL above.
Under Optional Webhook settings → HTTP method, leave
POST. Under Authorization Header, set:Scheme:
BearerCredentials:
<ROBUSTA_API_KEY>
Save the contact point.
Update your Notification policy so the desired alert rules route to
Robusta.
Verify¶
Use Grafana's Test button on the contact point. The event should appear in Settings → Delivery Log and on the Robusta timeline.