Files
homelab/cluster/applications/monitoring/dashboards.yaml
2026-05-19 21:12:54 -05:00

32 lines
1.2 KiB
YAML

# ------------------------------------------------------------------------------
# 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": [],
# ...
# }