Files
nix-config-ryan4yin/hosts/idols-aquamarine/grafana/dashboards.yml
T
2024-08-20 12:21:05 +08:00

44 lines
1.4 KiB
YAML

apiVersion: 1
providers:
# <string> an unique provider name. Required
- name: "Homelab"
# An organization is an entity that helps you isolate users and resources such as dashboards,
# annotations, and data sources from each other.
#
# <int> Org id. Default to 1
#
# If you want to customize this id, you need to create the organizations first.
orgId: 1
# <string> provider type. Default to 'file'
type: file
# <bool> disable dashboard deletion
disableDeletion: true
# <int> how often Grafana will scan for changed dashboards
updateIntervalSeconds: 20
# <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/dashboards/homelab/
# <bool> use folder names from filesystem to create folders in Grafana
foldersFromFilesStructure: true
- name: "Kubernetes"
orgId: 1
type: file
disableDeletion: true
updateIntervalSeconds: 20
allowUiUpdates: false
options:
path: /etc/grafana/dashboards/kubernetes/
foldersFromFilesStructure: true
- name: "Istio"
orgId: 1
type: file
disableDeletion: true
updateIntervalSeconds: 20
allowUiUpdates: false
options:
path: /etc/grafana/dashboards/istio/
foldersFromFilesStructure: true