helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Import folder with dashboards

Open fatsolko opened this issue 4 months ago • 0 comments

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?

fatsolko avatar Oct 21 '24 14:10 fatsolko