GitHub integration for Grafana IRM
The GitHub integration for Grafana IRM connects your incident response workflow with your GitHub repositories, enhancing collaboration during incidents. This integration provides increased visibility and context by syncing critical details between incidents and GitHub issues.
Key features
- Link incidents to specific GitHub repositories
- Convert IRM tasks to GitHub issues and vice versa
- Access GitHub issues directly from the incident interface
- Track code-related changes that occur during incident response
For more information about managing tasks using the GitHub integration, refer to Add and manage tasks
Before you begin
To use the GitHub integration, you need:
- Admin permissions in Grafana IRM
- GitHub admin permissions to enable the Grafana IRM app
- Access to the GitHub repositories you want to connect
Note
If you’re not a GitHub admin, request approval from your organization admin to enable the Grafana IRM app.
Configure the GitHub integration
- Navigate to IRM > Integrations in the Grafana menu
- Select the Incident tab
- Click the GitHub tile
- Click Install Integration
- Follow the on-screen instructions to sign in to GitHub
- Authorize the Grafana IRM app when prompted
After the GitHub integration is installed, you need to select which repositories to connect.
Configure repository access
To specify which GitHub repositories to connect:
- From the GitHub integration settings page, click Manage Integration Permissions
- When redirected to GitHub, click Configure
- Select the repositories you want to connect to Grafana IRM
- You can choose specific repositories or grant access to all repositories
- Save your changes and return to Grafana IRM
Using the integration
Once configured, you can use the GitHub integration to:
Link tasks to GitHub issues
- Create a task in your incident
- Click the task options menu (three dots)
- Select Link to GitHub issue
- Choose an existing issue or create a new one
View linked GitHub issues
Linked GitHub issues appear in the incident details page, providing context about code-related activities during the incident.