Skip to content

Grafana.net imported dashboards removed every other time #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jcox10 opened this issue Apr 25, 2025 · 0 comments · May be fixed by #352
Open

Grafana.net imported dashboards removed every other time #346

jcox10 opened this issue Apr 25, 2025 · 0 comments · May be fixed by #352

Comments

@jcox10
Copy link

jcox10 commented Apr 25, 2025

Starting in v6.0.0 dashboards imported from grafana.net are removed every other execution of the role when grafana_provisioning_synced: true . It look like the __dashboards_copied var does not get populated when the dashboard already exist.

First execution, the dashboard is imported successfully, and the remove task is skipped:
Image

Second execution, the dashboard is not imported since it already exists, and the remove task then deletes it:
Image

The role either needs to update the __dashboards_copied var with the imported dashboards every time, or maybe it needs to always re-import from grafana.net?

@root-expert root-expert linked a pull request Apr 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant