Files
openshift-resource-governance/app/api/routes.py
andersonid 3445f58a11 Update Prometheus queries to use OpenShift-specific metrics
- Use node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate for CPU usage
- Use container_memory_working_set_bytes with kubelet job for memory usage
- Use kube_pod_container_resource_requests/limits with kube-state-metrics job
- Add workload-specific filtering to match OpenShift dashboard behavior
- This should resolve the 'insufficient data' issue by using the same metrics as OpenShift
2025-09-30 20:42:59 -03:00

43 KiB