Grafana Alerting Integration
Overview
Configure Grafana's unified alerting to send alert notifications to OpsWorker for automatic investigation. This is the Grafana Alerting integration (Grafana → OpsWorker). For enabling OpsWorker to query Grafana during investigations, see the separate Grafana MCP integration.
Requires Grafana 9 or later with unified alerting enabled.
Prerequisites
- Grafana 9+ with unified alerting enabled (or Grafana Cloud)
- OpsWorker cluster set up with the Kubernetes Agent installed
- Your OpsWorker webhook URL and credentials (available in the portal under Integrations → Grafana Alerting)
Setup
1. Get Your Webhook URL
- In the OpsWorker portal, go to Integrations
- Select your cluster
- Find Grafana Alerting and copy:
- The webhook URL
- The Authorization header value (used for authenticating requests)
2. Create a Contact Point in Grafana
- In Grafana, navigate to Alerting → Contact Points
- Click New Contact Point
- Configure:
- Name:
OpsWorker - Type: Webhook
- URL: Your OpsWorker webhook URL
- HTTP Method: POST
- Authorization Header (optional): If provided in the portal, add as a custom header
- Name:
- Click Test to send a test notification
- Click Save
3. Configure Notification Policies
- Go to Alerting → Notification Policies
- Either:
- Add OpsWorker to the default policy — All Grafana alerts go to OpsWorker
- Create a specific policy — Route certain alerts (by label, folder, or severity) to OpsWorker
- Set the contact point to
OpsWorker - Save the policy
4. Verify
Trigger a Grafana alert rule or wait for a real one. Check the OpsWorker portal under Alerts to confirm signals are arriving.
Grafana Cloud
The same setup works with Grafana Cloud — create a webhook contact point using your OpsWorker webhook URL. No additional configuration is needed.
What About Grafana MCP?
Grafana Alerting and Grafana MCP are separate integrations:
| Integration | Direction | Purpose |
|---|---|---|
| Grafana Alerting (this page) | Grafana → OpsWorker | Sends alerts for investigation |
| Grafana MCP | OpsWorker → Grafana | AI queries Grafana metrics, logs, dashboards |
You can use both together for the richest experience: alerts trigger investigations, and the AI uses Grafana MCP to query metrics and logs for deeper context during those investigations.
See the Grafana MCP setup for configuration.
Next Steps
- Configure Alert Rules — Set up which alerts trigger investigations
- Grafana Integration Details — Full reference for both Grafana integrations
- Grafana MCP / Observability Agent — What querying Grafana enables