fix(dashboards): consolidate cockpits into single folder

Move all 3 cockpit dashboards (Cockpit, Trading Cockpit, Training
Cockpit) into a single "Cockpits" folder. GPU & Training Jobs moved
to Infrastructure. 4 folders total: Cockpits, Operations,
Infrastructure, CI-CD.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-03-01 10:29:44 +01:00
parent 02c9ec09a9
commit 7f2f618e17

View File

@@ -123,17 +123,15 @@ KUBE_NAMESPACE="${KUBE_NAMESPACE:-foxhunt}"
# ConfigMap grouping: name -> list of dashboard files
declare -A CONFIGMAP_GROUPS=(
[grafana-dashboards-trading]="foxhunt-cockpit.json foxhunt-trading-cockpit.json"
[grafana-dashboards-training]="foxhunt-training-cockpit.json foxhunt-gpu-training.json"
[grafana-dashboards-cockpits]="foxhunt-cockpit.json foxhunt-trading-cockpit.json foxhunt-training-cockpit.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-infra]="cluster-overview.json gpu-overview.json foxhunt-infrastructure.json foxhunt-gpu-training.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-trading]="Trading"
[grafana-dashboards-training]="Training"
[grafana-dashboards-cockpits]="Cockpits"
[grafana-dashboards-operations]="Operations"
[grafana-dashboards-infra]="Infrastructure"
[grafana-dashboards-cicd]="CI-CD"