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

Validate dashboards #121

Open
Duologic opened this issue Sep 20, 2023 · 1 comment
Open

Validate dashboards #121

Duologic opened this issue Sep 20, 2023 · 1 comment

Comments

@Duologic
Copy link
Member

Duologic commented Sep 20, 2023

The idea is to provide an endpoint or perhaps a separate library to validate dashboards against their schema.

For jsonnet this library could be used: https://github.com/crdsonnet/validate-libsonnet

Additionally we could look into https://github.com/grafana/dashboard-linter for linting on top of validation.

@Duologic Duologic added the enhancement New feature or request label Nov 21, 2023
@Duologic Duologic changed the title Add object validation based on the schemas Validate dashboards Nov 21, 2023
@consideRatio
Copy link
Contributor

consideRatio commented Apr 17, 2024

For reference, as a maintainer of dashboards for an application, we have setup automation via a github workflow to run jsonnet-lint from go-jsonnet on our dashboards in their .jsonnet form, and then dashboard-linter from grafana on them after being rendered.

Recently introduced and we don't have much experience with it yet, except that we pass jsonnet-lint and have massive amounts of warnings from the dashboard-linter (but the dashboards work in grafana).

@Duologic Duologic removed the enhancement New feature or request label Oct 1, 2024
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

2 participants