Skip to content
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

Update grafana-builder Dashboard Schema #1010

Open
kennytrytek-wf opened this issue Jul 6, 2023 · 2 comments
Open

Update grafana-builder Dashboard Schema #1010

kennytrytek-wf opened this issue Jul 6, 2023 · 2 comments

Comments

@kennytrytek-wf
Copy link

kennytrytek-wf commented Jul 6, 2023

schemaVersion is set to 14, but latest schema is 38.
Current:


Latest:
https://github.com/grafana/grafana/blob/6f880b713afcd83519d89c506609f31b6b7bc1df/public/app/features/dashboard/state/DashboardMigrator.ts#L817

The reason this would be helpful is that if the Alertmanager dashboard is created using Terraform (grafana_dashboard resource), this dashboard is produced at schema version 14. When an admin loads the dashboard page, the board is automatically migrated to version 38. Then, subsequent navigation prompts to save the dashboard changes.

If the dashboard could be generated at the newer schema version, then it could be more effectively managed with Terraform.

grafana

@AgnesToulet
Copy link

+1 to update grafana-builder schema as the one used here is quite old and it causes issues for the reporting feature as well.

Maybe it would help to use grafonnet to do this update so this would be easier to keep it up-to-date in the future?

@v-zhuravlev
Copy link
Contributor

Best to switch to grafonnet, as it is autogenerated from grafana schema, so should always be up to date.

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

No branches or pull requests

3 participants