add grafana dashboards

This commit is contained in:
2026-05-19 21:12:54 -05:00
parent 0dae8327eb
commit f4c60d7560
3 changed files with 151 additions and 12 deletions

View File

@@ -0,0 +1,31 @@
# ------------------------------------------------------------------------------
# FILE: cluster/applications/monitoring/dashboards.yaml
# DESCRIPTION: Custom Grafana dashboards as ConfigMaps.
# Picked up automatically by the Grafana sidecar via label:
# grafana_dashboard: "1"
# searchNamespace: ALL means these can live in any namespace.
#
# NOTE: Community dashboards (gnetId) live in values.yaml under
# grafana.dashboards. This file is for custom/homegrown dashboards only.
#
# USAGE: Add a new dashboard by creating a new ConfigMap entry below.
# The data key must end in .json — Grafana uses the filename as the
# dashboard title source. Keep one dashboard per ConfigMap for clarity.
# ------------------------------------------------------------------------------
# Example structure — replace with real dashboard JSON when ready:
#
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: dashboard-mk-labs-overview
# namespace: monitoring
# labels:
# grafana_dashboard: "1"
# data:
# mk-labs-overview.json: |
# {
# "title": "mk-labs Overview",
# "panels": [],
# ...
# }

View File

@@ -247,26 +247,54 @@ grafana:
dashboards:
default:
# ── Already present ──────────────────────────────────────────────────────
node-exporter-full:
gnetId: 1860
revision: 37
datasource: Prometheus
kubernetes-cluster:
gnetId: 7249
revision: 1
datasource: Prometheus
kubernetes-pods:
gnetId: 6336
revision: 1
datasource: Prometheus
unifi-poller:
gnetId: 11315
revision: 9
datasource: Prometheus
proxmox-cluster:
gnetId: 10347
revision: 5
datasource: Prometheus
unifi-poller:
gnetId: 11315
revision: 9
datasource: Prometheus
# ── Kubernetes ───────────────────────────────────────────────────────────
kubernetes-global:
gnetId: 15757
revision: 37
datasource: Prometheus
kubernetes-namespace:
gnetId: 15758
revision: 34
datasource: Prometheus
kubernetes-pods:
gnetId: 6336
revision: 1
datasource: Prometheus
# ── Platform services ─────────────────────────────────────────────────────
argocd:
gnetId: 19974
revision: 3
datasource: Prometheus
cert-manager:
gnetId: 20842
revision: 3
datasource: Prometheus
cilium-dashboard:
gnetId: 16611
revision: 1
datasource: Prometheus
# ── Infrastructure ────────────────────────────────────────────────────────
# Traefik — uncomment when P.02 is done (--metrics.prometheus=true)
# traefik:
# gnetId: 17346
# revision: 9
# datasource: Prometheus
sidecar:
dashboards: