grafana dashboards

This commit is contained in:
Andrei Kartashov 2023-09-25 01:56:48 +07:00
parent 068c4fb1ce
commit 2fba5a6347
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{{- range $name, $props := .Values.dashboards }}
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: {{ $name }}
spec:
allowCrossNamespaceImport: true
instanceSelector:
matchLabels:
instance: grafana
url: {{ $props.url }}
{{- end }}

View file

@ -0,0 +1,15 @@
dashboards:
k8s-views-namespaces:
url: https://grafana.com/api/dashboards/15758/revisions/17/download
k8s-views-global:
url: https://grafana.com/api/dashboards/15757/revisions/23/download
k8s-views-pods:
url: https://grafana.com/api/dashboards/15760/revisions/17/download
k8s-system-coredns:
url: https://grafana.com/api/dashboards/15762/revisions/12/download
victoriametrics:
url: https://raw.githubusercontent.com/VictoriaMetrics/VictoriaMetrics/master/dashboards/victoriametrics.json
vmagent:
url: https://raw.githubusercontent.com/VictoriaMetrics/VictoriaMetrics/master/dashboards/vmagent.json
nodeexporter:
url: https://grafana.com/api/dashboards/1860/revisions/31/download