knoguchi / grafana-dash

A utility to update Grafana dashboards
Apache License 2.0
10 stars 4 forks source link

Alert validation error: Data source used by alert rule not found #3

Open tmor opened 4 years ago

tmor commented 4 years ago

Summary

If the alert on Grafana is present, the upload seems to fail. It would be nice to be able to update alerts with this tool as well.

Environments

Steps to reproduce

./grafana-dash.py --upload new.json
...
grafana_api.grafana_api.GrafanaClientError: Client Error 422: Alert validation error: Data source used by alert rule not found, alertName=Example old, datasource=new
knoguchi commented 4 years ago

Interesting. I will investigate.