[Feature][Plugin] Add Grafana IRM Integration
Search before asking
- [x] I had searched in the issues and found no similar feature requirement.
Use case
Teams using Grafana Cloud IRM should be able to ingest its data into Apache DevLake and analyze it alongside data from other DevOps tools.
For example, incidents managed in Grafana IRM could be correlated with deployment data and used to calculate DORA metrics such as:
- Change Failure Rate
- Failed Deployment Recovery Time / MTTR
Description
I propose adding a grafana_irm data source plugin to support Grafana Cloud IRM.
Grafana IRM provides multiple capabilities, including Incident and OnCall, with APIs for programmatic access:
For example, Grafana IRM Incident data could be mapped to DevLake's domain models as follows:
- Grafana IRM Incident → DevLake Issue (
type = INCIDENT) - Incident status → Issue status / original status
- Incident severity → Issue severity / priority
- Incident declared time → Issue created date
- Incident resolved time → Issue resolution date
- Incident roles/members → Issue assignees, where applicable
This could allow Grafana IRM incidents to be correlated with deployment data through DevLake's existing DORA incident-to-deployment correlation.
Before proceeding with the implementation, I would like to confirm whether this overall direction is appropriate, particularly regarding:
- which Grafana IRM APIs and entities should be supported
- the scope of data to be collected
- the synchronization strategy
Related issues
No related issue found.
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
@klesh hey so this would be a substantial feature request if we decide to integrate it, ii have looked at how incident io does this, i can work towards implementing this plugin if it is required
@klesh hey so this would be a substantial feature request if we decide to integrate it, ii have looked at how incident io does this, i can work towards implementing this plugin if it is required
Hi, @Thundercloud12 We are open to any data source plugin as long as it is well tested against the actual data source. Feel free to work on it and let me know when it’s ready for review.
@klesh sure think would let you know about it once its good to review! also could be better if you assign this so in future there are not conflicts!
@klesh i have raised a pr with this feature and also linked a video showing the step by step process, hope it helps!
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.