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, click Install, and copy:
- The webhook URL
- The credentials (used for authenticating requests)
All clusters POST to the same endpoint: https://alerts.ow-saas-prod-ext.opsworker.ai/alerts (dev: https://alerts-dev.opsworker.ai/alerts). The cluster token is not part of the URL. The cluster is identified by the credentials the portal generates. Grafana delivers alerts in an AlertManager-compatible format, which OpsWorker parses with the same path as Prometheus AlertManager.
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: scheme Bearer, with the credentials from the portal. This is required, not optional. Without it the webhook is rejected.
- 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