Overview
Grafana is a popular open-source platform for monitoring and observability. Easyalert supports both Grafana Unified Alerting (8+) and Legacy Alerting (7.x) formats.Grafana 8+ uses Unified Alerting by default. Legacy alerting is deprecated but
still supported for older installations.
Requirements
- Grafana 8.0+ (for Unified Alerting) or Grafana 7.x (Legacy)
- Easyalert account and active tenant
- Admin or Editor permissions in Grafana
Setup Instructions
1
Create Integration in Easyalert
- Go to Integrations page from left menu
- Click Add Integration button
- Select Grafana as Source Type
- Enter a name (e.g.,
Grafana Production) - Click Create to save
- Copy the generated Webhook URL
Example: https://api.easyalert.io/api/v1/webhooks/ingest/wh_abc123...
2
Create Contact Point (Unified Alerting)
- Go to Alerting → Contact points
- Click Add contact point button
- Fill in the form:
- Click Test button to verify connection
- Click Save contact point
3
Configure Notification Policy
- Go to Alerting → Notification policies
- Edit Default policy or add New nested policy:
4
Test the Integration
Use the Test button in the contact point configuration to send a test alert
Legacy Alerting Configuration (Grafana 7.x)
For Grafana 7.x and earlier with legacy alerting:1
Create Notification Channel
- Go to Alerting → Notification channels 2. Click Add channel 3. Select webhook as the type
2
Configure Webhook
- Name: Easyalert - URL: Your Easyalert webhook URL - HTTP Method: POST - Send on all alerts: Yes - Include image: Optional
Creating Alert Rules
Labels you define in alert rules become tags in Easyalert.Add Labels (IMPORTANT)
In Section 3: Add annotations and labels, add labels for routing:Add Annotations
Field Mapping
Unified Alerting
Legacy Alerting
Severity Mapping
Legacy State Mapping
Label → Tag Conversion
All labels from Grafana are automatically available as tags in Easyalert.Example Conversion
Labels in Alert Rule:Routing Examples
Escalation Routing:Fingerprint and Duplicate Detection
Grafana generates a unique fingerprint for each alert. Easyalert uses this fingerprint to:- Not create new incident if same alert comes again
- Auto-close incident when
resolvedstatus arrives
Example Alert Rules
CPU Alert
Memory Alert
Grafana-Specific Features
Dashboard Links
Grafana includes helpful links in alerts:
These are captured and displayed in the incident details.
Test
Troubleshooting
Alerts not being received
Alerts not being received
- Test the contact point from Grafana UI 2. Check Grafana server logs for webhook errors 3. Verify network connectivity to Easyalert 4. Ensure notification policy routes to correct contact point
Resolved alerts not working
Resolved alerts not working
- Verify “Disable Resolved Message” is NOT checked in contact point 2. Check notification policy includes resolved alerts 3. Verify alert rule has proper conditions for resolution
Missing dashboard links
Missing dashboard links
- Ensure
externalURLis configured in Grafana 2. Check Grafana root URL settings
Legacy vs Unified format issues
Legacy vs Unified format issues
- Check which alerting system is enabled in Grafana 2. Easyalert auto-detects format, but verify payload structure 3. Review webhook samples for actual format being sent
Best Practices
Use Unified Alerting
Use Unified Alerting
Migrate to Unified Alerting for better features and consistency with
Prometheus/Alertmanager format.
Include Runbook URLs
Include Runbook URLs
Add
runbook_url annotation to help responders quickly find remediation
steps.Organize with Folders
Organize with Folders
Use Grafana folders to organize alerts and include folder name in labels.
Configure External URL
Configure External URL
Set Grafana’s external URL properly so dashboard links work correctly.
Use Labels for Routing
Use Labels for Routing
Add labels like
customer, team, environment for escalation routing in
Easyalert.
