ansible-collections / community.grafana

Grafana Collection for Ansible
http://galaxy.ansible.com/community/grafana
GNU General Public License v3.0
123 stars 78 forks source link

Support for nested folders. #380

Closed rolatsch closed 2 weeks ago

rolatsch commented 1 month ago
SUMMARY

As of version 11 Grafana supports nested folders. This would be a nice addition to the folders module

ISSUE TYPE
COMPONENT NAME

community.grafana.grafana_folder

ADDITIONAL INFORMATION

Nesting folders works by adding a parentUid to the body of POST /api/folders request.

Nemental commented 1 month ago

Hi @rolatsch :) Thanks for your feature request! I will take a look at it.

Nemental commented 3 weeks ago

Hi @rolatsch - your feature request is under review and will be included in the next release. If you want, you can run some tests (branch feat/sub-folders).

rolatsch commented 3 weeks ago

@Nemental wow that was super quick. Thank you 😊 I'll try to free up some time for testing in the next few days.

rolatsch commented 6 days ago

Sorry, it took me a little longer to test it. Creating the subdirectories works great. But the dashboard module would have to be adapted too so that it uses the folderUid parameter.