New dashboard under folders are not inhering the full path

Hi all,

I’m building grafana docker image and in the image I’m copying certaing dashborards under a directory structure

├── CompBio
│ ├── Batch
│ │ ├── ECR.json
│ │ ├── cost.json
│ │ └── EC2.json
│ ├── Data
│ │ ├── S3.json
│ │ ├── onpremfsa.json
│ │ ├── onpremperf.json
│ │ └── xchange.json
│ ├── Posit
│ │ ├── Connect.json
│ │ └── WorkBench.json
│ └── default.json
├── TechPlatforms
│ ├── Puppet.json
│ ├── azure.json
│ ├── cron.json
│ ├── disk.json
│ ├── https_certificates.json
│ ├── os.json
│ ├── server.json
│ └── services.json
└── config.yaml

I expected to get something like :

but I’m getting this:

what would be the way to create thos subfolders in the dashboards?

Thanks

this might help

Ok, got it:

You can’t create nested folders structures, where you have folders within folders.

this answer my question. this is bad as this is supported in the UI :frowning:

Thanks!

you could contribute to the code base to fix that? or you can log an issue in grafana github @arnaubria

Belive me, you do not want my code in grafana… Jokes aside, I do not know go at all.

1 Like