better dashboards

This commit is contained in:
Remy Moll 2024-04-01 12:21:50 +02:00
parent 516d7e8e09
commit 8fd9fa6f11
2 changed files with 16 additions and 4 deletions

@ -1 +1 @@
Subproject commit 8f99d67c0c01732ba1a86cc06f8bd896e16f8af1 Subproject commit d8c9f6ecea4f94f0f57aa8c09586dd83ae33a587

View File

@ -34,9 +34,18 @@ datasources:
url: http://thanos-querier.prometheus.svc:9090 url: http://thanos-querier.prometheus.svc:9090
isDefault: true isDefault: true
# dashboardProviders: dashboardProviders:
# dashboardproviders.yaml: dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default
## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value. ## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value.
## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both. ## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
## ConfigMap data example: ## ConfigMap data example:
@ -46,6 +55,9 @@ datasources:
## RAW_JSON ## RAW_JSON
## ##
dashboardsConfigMaps: dashboardsConfigMaps:
default: grafana-dashboards
home-metrics: dashboard-home-metrics home-metrics: dashboard-home-metrics
proxmox: dashboard-proxmox proxmox: dashboard-proxmox
gitea: dashboard-gitea gitea: dashboard-gitea