feat: Implement Grafana folders for existing dashboards and add new ones
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
2 files changed
+76
-3
No files matched your search
@@ -55,42 +55,109 @@ spec:
|
|||||||
editable: true
|
editable: true
|
||||||
options:
|
options:
|
||||||
path: /var/lib/grafana/dashboards/default
|
path: /var/lib/grafana/dashboards/default
|
||||||
|
- name: flux
|
||||||
|
orgId: 1
|
||||||
|
folder: Flux
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards/flux
|
||||||
|
- name: kubernetes
|
||||||
|
orgId: 1
|
||||||
|
folder: Kubernetes
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards/kubernetes
|
||||||
|
- name: nginx
|
||||||
|
orgId: 1
|
||||||
|
folder: Nginx
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards/nginx
|
||||||
datasources:
|
datasources:
|
||||||
datasources.yaml:
|
datasources.yaml:
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
deleteDatasources:
|
||||||
|
- { name: Prometheus, orgId: 1 }
|
||||||
datasources:
|
datasources:
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
type: prometheus
|
type: prometheus
|
||||||
|
uid: prometheus
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://kube-prometheus-stack-prometheus.monitoring.svc.cluster.local:9090
|
url: http://kube-prometheus-stack-prometheus.monitoring.svc.cluster.local:9090
|
||||||
jsonData:
|
jsonData:
|
||||||
prometheusType: Prometheus
|
prometheusType: Prometheus
|
||||||
uid: prometheus
|
|
||||||
isDefault: true
|
isDefault: true
|
||||||
dashboards:
|
dashboards:
|
||||||
default:
|
default:
|
||||||
|
cloudflared:
|
||||||
|
gnetId: 17457 # https://grafana.com/grafana/dashboards/17457?tab=revisions
|
||||||
|
revision: 6
|
||||||
|
datasource:
|
||||||
|
- { name: DS_PROMETHEUS, value: Prometheus }
|
||||||
|
external-dns:
|
||||||
|
gnetId: 15038 # https://grafana.com/grafana/dashboards/15038?tab=revisions
|
||||||
|
revision: 1
|
||||||
|
datasource: Prometheus
|
||||||
cert-manager:
|
cert-manager:
|
||||||
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
|
node-exporter-full:
|
||||||
|
gnetId: 1860 # https://grafana.com/grafana/dashboards/1860?tab=revisions
|
||||||
|
revision: 31
|
||||||
|
datasource: Prometheus
|
||||||
|
flux:
|
||||||
flux-cluster:
|
flux-cluster:
|
||||||
url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/cluster.json
|
url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/cluster.json
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
flux-control-plane:
|
flux-control-plane:
|
||||||
url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/control-plane.json
|
url: https://raw.githubusercontent.com/fluxcd/flux2/main/manifests/monitoring/monitoring-config/dashboards/control-plane.json
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
ingress-nginx:
|
kubernetes:
|
||||||
|
kubernetes-api-server:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-system-api-server.json
|
||||||
|
datasource: Prometheus
|
||||||
|
kubernetes-coredns:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-system-coredns.json
|
||||||
|
datasource: Prometheus
|
||||||
|
kubernetes-global:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-global.json
|
||||||
|
datasource: Prometheus
|
||||||
|
kubernetes-namespaces:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-namespaces.json
|
||||||
|
datasource: Prometheus
|
||||||
|
kubernetes-nodes:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-nodes.json
|
||||||
|
datasource: Prometheus
|
||||||
|
kubernetes-pods:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-pods.json
|
||||||
|
datasource: Prometheus
|
||||||
|
nginx:
|
||||||
|
nginx:
|
||||||
url: https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/grafana/dashboards/nginx.json
|
url: https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/grafana/dashboards/nginx.json
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
ingress-nginx-request-handling-performance:
|
nginx-request-handling-performance:
|
||||||
url: https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/grafana/dashboards/request-handling-performance.json
|
url: https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/grafana/dashboards/request-handling-performance.json
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
sidecar:
|
sidecar:
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: true
|
enabled: true
|
||||||
searchNamespace: ALL
|
searchNamespace: ALL
|
||||||
|
labelValue: ""
|
||||||
|
label: grafana_dashboard
|
||||||
|
folderAnnotation: grafana_folder
|
||||||
|
provider:
|
||||||
|
disableDelete: true
|
||||||
|
foldersFromFilesStructure: true
|
||||||
datasources:
|
datasources:
|
||||||
enabled: true
|
enabled: true
|
||||||
searchNamespace: ALL
|
searchNamespace: ALL
|
||||||
|
labelValue: ""
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
@@ -55,6 +55,8 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
grafana_folder: Cilium
|
||||||
relay:
|
relay:
|
||||||
enabled: true
|
enabled: true
|
||||||
rollOutPods: true
|
rollOutPods: true
|
||||||
@@ -109,12 +111,16 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
grafana_folder: Cilium
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: true
|
enabled: true
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
dashboards:
|
dashboards:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
grafana_folder: Cilium
|
||||||
rollOutCiliumPods: true
|
rollOutCiliumPods: true
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|||||||
Reference in new issue
Block a user