incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Feature][Plugin] Add Grafana IRM Integration

Open TOGEP opened this issue 3 months ago • 5 comments

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

TOGEP avatar Aug 20 '26 04:08 TOGEP

@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

Thundercloud12 avatar Sep 17 '26 09:09 Thundercloud12

@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 avatar Sep 18 '26 06:09 klesh

@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!

Thundercloud12 avatar Sep 18 '26 10:09 Thundercloud12

@klesh i have raised a pr with this feature and also linked a video showing the step by step process, hope it helps!

Thundercloud12 avatar Sep 23 '26 12:09 Thundercloud12

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.

github-actions[bot] avatar Nov 23 '26 00:11 github-actions[bot]