grafana-sync icon indicating copy to clipboard operation
grafana-sync copied to clipboard

[feature request] support pulling and pushing alerts

Open rustielin opened this issue 2 years ago • 2 comments

Support pulling and pushing Grafana alert definitions. Currently I'm hitting this endpoint /api/ruler/grafana/api/v1/rules/ on my Grafana installation directly, but it would be awesome to have this baked into grafana-sync!

Let me know if it's something super easy that I can look into (golang noob here). Thank you!

rustielin avatar Sep 09 '22 01:09 rustielin

Hello, this endpoint is used by new grafana unified alerts? I think this is not implemented in grafana SDK. I can take a look. But do not have ETA right now when this will be done

mpostument avatar Sep 09 '22 06:09 mpostument

Yea it's used by the Grafana unified alerts. And sounds good -- thanks!

rustielin avatar Sep 09 '22 09:09 rustielin