mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-25 06:04:18 +09:00
DCGM exporter metrics carry the exporter's own namespace (cozy-gpu-operator), not the workload namespace. Recording rules that filtered namespace!~"cozy-.*" silently dropped all DCGM series, producing empty dashboard panels. Replace namespace-level hardware aggregations with node-level equivalents (grouped by Hostname), keep namespace-level allocation rules that use kube_pod_container_resource_requests (which carries the real workload namespace), and rename pod-level efficiency rules to gpu-level since DCGM cannot attribute hardware metrics to individual pods. Signed-off-by: Arsolitt <arsolitt@gmail.com>