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

Alerts: replace datasource

Open gonzalo-dibiase-webbeds opened this issue 2 years ago • 1 comments

Hello, replacing datasources in dashboards has been working great so far with replace. Is it feasible to extend the functionality of replace to also update datasources for alerts managed by Grafana?

Example: grafana-wtf replace alerts foo bar

gonzalo-dibiase-webbeds avatar Nov 02 '23 09:11 gonzalo-dibiase-webbeds

Dear Gonzalo,

thank you for writing in. I think it is a good suggestion to extend the functionality of the replace subcommand. Apologies that I currently do not have any capacity to implement it. Maybe others can come up with a corresponding patch?

With kind regards, Andreas.

amotl avatar Nov 06 '23 06:11 amotl