Using the Grafana Integration
Last updated: November 20, 2025
Overview
The Grafana integration allows you to connect your Grafana instance to incident.io to automatically create incidents from Grafana alerts, enrich alerts with organizational context, and attach dashboard screenshots to incidents for faster debugging.
What you can do with Grafana
Once connected, you can:
Create incidents automatically from Grafana alerts by setting up alert sources
Attach dashboard screenshots to incidents to provide visual context during response
Enrich alerts with attributes using labels on your Grafana alert rules to map to services, teams, and other catalog types
Sync telemetry dashboards to your incident.io catalog for easy reference
Connecting Grafana to incident.io
Prerequisites
Before connecting, you'll need:
Grafana API URL - The hostname of your Grafana instance (e.g., acme.grafana.net)
API Key - A Grafana API key with the following permissions:
Read permissions for dashboards and folders
For older Grafana versions: Dashboard modification permissions
To create an API key in Grafana:
Navigate to Configuration > API Keys in Grafana
Click Add API Key
Give it a descriptive name like "incident.io Integration"
Set it to Admin role (or at minimum, read access to dashboards)
We recommend creating a non-expiring key to avoid connection issues
Connection steps
In incident.io, go to Settings > Integrations
Find Grafana and click Connect
Enter your Grafana API URL and API Key
Click Connect to Grafana
Once connected, incident.io will validate the connection by attempting to access your Grafana instance.
Setting up Grafana alert sources
Alert sources allow you to automatically create incidents from Grafana alerts.
Creating an alert source
Go to Settings > Alert Sources in incident.io
Click Create Alert Source
Select Grafana as the source type
Configure your alert source settings (name, routing rules, etc.)
Copy the webhook URL provided (it will look like https://api.incident.io/v2/alert_events/grafana/{alertSourceId})
Configuring Grafana to send alerts
In Grafana, navigate to Alerting > Contact points
Click Add contact point (or edit an existing one)
Select Webhook as the type
Paste the incident.io webhook URL
Under Authentication, select Bearer Token and paste the token provided by incident.io
Note: For older Grafana versions, you may need to use HTTP Basic Auth instead
Save the contact point
Alert grouping options
When configuring your alert source, you can choose how Grafana alert groups map to incident.io alerts:
One alert per group (recommended) - Creates a single incident.io alert for each Grafana alert group, keeping related alerts together
Individual alerts - Creates separate incident.io alerts for each alert within a Grafana alert group
Dashboard screenshots and telemetry
You can configure incident.io to automatically attach screenshots of specific Grafana dashboards to incidents. This provides visual context during incident response.
Selecting dashboards
Go to Settings > Integrations > Grafana
Click Configure to open the integration settings
In the Connected Dashboards section, paste a Grafana dashboard URL
Click Add Dashboard to discover and connect it
The dashboard will now be available for use during incidents
What gets synced:
Dashboard name and description
Folder location
Individual panels within the dashboard
How dashboard screenshots work
When an incident is created from a Grafana alert:
incident.io can automatically generate and attach a screenshot of related dashboards
Screenshots include the relevant time range around the alert
Individual panels can also be captured and shared
Enriching alerts with tags
You can tag your Grafana alert rules with labels that map to incident.io catalog types (like services, teams, or custom catalog types). This automatically enriches your incidents with the right context.
Adding tags to Grafana alerts
In Grafana, edit your alert rule
Add labels in the format {catalog-type-name} with the value being the catalog entry name
Example: Add a label service with value payment-api
When this alert fires, incident.io will automatically:
Look up the service catalog type
Find the entry named payment-api
Attach it to the incident
Common catalog types to use:
service - Link alerts to specific services
team - Route to the right team
Any custom catalog types you've created in incident.io
Still got questions? Reach out to support@incident.io or message us in your Slack Channel!