Open call-stack opened 11 months ago
Removing "datasource": self.datasource,
from CloudwatchMetricsTarget
inside grafanalib/cloudwatch.py
fixed issue for me. Not sure if that is a correct way to handle it but temporarily it working fine for me.
What happened?
Setting up a cloudwatch alert on metric. But when I am opening the alert in grafana. Getting below error.![Screenshot 2023-08-17 at 11 43 24 AM](https://github.com/weaveworks/grafanalib/assets/25352680/a1183244-fccc-477f-a354-b27af9c4a356)
but when I re-select the same datasource from the list(done in UI) again, it worked.
How to reproduce it?
Below is the code I am using to setup alert.