refactor(dashboards): reorganize into 5 logical folders

Replaces single "Foxhunt" folder with Trading, Training, Operations,
Infrastructure, and CI/CD groupings. Updates ConfigMap definitions in
import.sh and Grafana Helm values to use foldersFromFilesStructure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-03-01 10:05:05 +01:00
parent dbd5c14811
commit 8346eae948

View File

@@ -123,14 +123,18 @@ KUBE_NAMESPACE="${KUBE_NAMESPACE:-foxhunt}"
# ConfigMap grouping: name -> list of dashboard files
declare -A CONFIGMAP_GROUPS=(
[grafana-dashboards-foxhunt]="foxhunt-logs.json foxhunt-overview.json foxhunt-services.json foxhunt-cockpit.json foxhunt-trading-cockpit.json foxhunt-training-cockpit.json foxhunt-traces.json"
[grafana-dashboards-infra]="cluster-overview.json gpu-overview.json foxhunt-gpu-training.json foxhunt-infrastructure.json"
[grafana-dashboards-trading]="foxhunt-cockpit.json foxhunt-trading-cockpit.json"
[grafana-dashboards-training]="foxhunt-training-cockpit.json foxhunt-gpu-training.json"
[grafana-dashboards-operations]="foxhunt-overview.json foxhunt-services.json foxhunt-traces.json foxhunt-logs.json"
[grafana-dashboards-infra]="cluster-overview.json gpu-overview.json foxhunt-infrastructure.json"
[grafana-dashboards-cicd]="foxhunt-ci-pipelines.json gitlab-services.json"
)
# Folder mapping: ConfigMap name -> Grafana folder name (used by sidecar annotation)
declare -A CONFIGMAP_FOLDERS=(
[grafana-dashboards-foxhunt]="Foxhunt"
[grafana-dashboards-trading]="Foxhunt / Trading"
[grafana-dashboards-training]="Foxhunt / Training"
[grafana-dashboards-operations]="Foxhunt / Operations"
[grafana-dashboards-infra]="Infrastructure"
[grafana-dashboards-cicd]="CI/CD"
)