-
-
Notifications
You must be signed in to change notification settings - Fork 23
Description
We have more going on, but I am restricting this PR to the essence. What I am describing here works perfectly for the datasource Prometheus. Also copy & paste from "json model" via WebUI seems to work fine. It seems that some options (default options or so) are not synced correctly.
Steps to reproduce:
- Create a new dashboard and add a metric that exists in CloudWatch.
- save & copy and paste "json model" to a file.
before.json.txt - Pull the dashboard to a json using grafana-sync, see README. Nothing special.
- Push the dashboard from the json using grafana-sync, see README. Nothing special.
- THE DASHBOARD IS BROKEN
- copy and paste "json model" to a file.
after.json.txt
before.json.txt
after.json.txt
"Broken" is defined as: The panel just shows blank. See
Also the Annotations seems to be duplicated.
Also some things have been removed when diffing.
This can be "fixed" as follows:
- Click on edit on panel.
- Now "refresh dashboard".
- Grafana seems to be doing something, as now, values start to appear.
Using Grafana v9.1.0. Deployed as part of prometheus-operator on k8s.
This could be an issue with Grafan itself, but could also be some "default value not sync"-optimization or so.
Would be great to get some insights, let me know where I can help.


