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

Import folder with dashboards #3371

Open
fatsolko opened this issue Oct 21, 2024 · 0 comments
Open

Import folder with dashboards #3371

fatsolko opened this issue Oct 21, 2024 · 0 comments

Comments

@fatsolko
Copy link

fatsolko commented Oct 21, 2024

I use Grafana chart, there is a folder with dashboards with the structure on or public repo with the same structure.
Image
I need these dashboards to be scattered in Grafana UI also in folders automaticaly
Image
Now I do it manually by adding the file path to each dashboard.

dashboardProviders:
  games-provider.yaml:
    apiVersion: 1
    providers:
      - name: 'games'
        orgId: 1
        folder: 'Games'
        type: file
        disableDeletion: true
        editable: true
        options:
          path: /var/lib/grafana/dashboards/games

dashboards:
  games:
    custom-dashboard:
      file: dashboards/games/custom-dashboard1.json
    custom-dashboard2:
      file: dashboards/games/custom-dashboard2.json

Is it possible to implement this, if so, how?

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

1 participant