create grafana dashboards into separate folders

This commit is contained in:
2025-11-07 22:34:44 +01:00
parent 8aeb823e50
commit bd8065b657
14 changed files with 15300 additions and 22 deletions

View File

@@ -1,24 +1,26 @@
apiVersion: 1
providers:
# <string> an unique provider name. Required
- name: 'ansible managed dashboards'
# <int> Org id. Default to 1
orgId: 1
# <string> name of the dashboard folder.
folder: ''
# <string> folder UID. will be automatically generated if not specified
folderUid: ''
# <string> provider type. Default to 'file'
- name: Database
folder: database
type: file
# <bool> disable dashboard deletion
disableDeletion: false
# <int> how often Grafana will scan for changed dashboards
updateIntervalSeconds: 10
# <bool> allow updating provisioned dashboards from the UI
allowUiUpdates: false
options:
# <string, required> path to dashboard files on disk. Required when using the 'file' type
path: /etc/grafana/provisioning/dashboards
# <bool> use folder names from filesystem to create folders in Grafana
foldersFromFilesStructure: true
path: /etc/grafana/provisioning/dashboards/database
- name: Container
folder: container
type: file
options:
path: /etc/grafana/provisioning/dashboards/container
- name: Cache
folder: cache
type: file
options:
path: /etc/grafana/provisioning/dashboards/cache
- name: Server
folder: server
type: file
options:
path: /etc/grafana/provisioning/dashboards/server