mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 04:33:36 +09:00
The database-autoscaling dashboard shipped from the keda package as a ConfigMap labeled grafana_dashboard: "1" for a Grafana sidecar that cozystack does not run (no k8s-sidecar anywhere; every dashboard is provisioned by grafana-operator from the grafana-dashboards image via GrafanaDashboard CRs). It was enabled by default and never appeared in any Grafana. Move the JSON to dashboards/db/database-autoscaling.json and register db/database-autoscaling in packages/system/monitoring/dashboards.list, exactly how db/cloudnativepg and the other managed-db dashboards ship, and drop the keda ConfigMap, its default-on toggle, and its wrong-mechanism test. Addresses IvanHunters [MAJOR] review feedback on #3954. Signed-off-by: Alexey Artamonov <aleksei.artamonov@aenix.io>