From 6a1ba3c54551c6f0a611704abb209569ce6bca58 Mon Sep 17 00:00:00 2001 From: Santosh Kaluskar Date: Wed, 21 Sep 2022 21:08:30 +0530 Subject: [PATCH] monitoring: use container_memory_working_set_bytes Signed-off-by: Santosh Kaluskar --- .../monitoring/monitoring-config/dashboards/control-plane.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/monitoring/monitoring-config/dashboards/control-plane.json b/manifests/monitoring/monitoring-config/dashboards/control-plane.json index 3f03d300..40b1a1ad 100644 --- a/manifests/monitoring/monitoring-config/dashboards/control-plane.json +++ b/manifests/monitoring/monitoring-config/dashboards/control-plane.json @@ -548,7 +548,7 @@ "steppedLine": false, "targets": [ { - "expr": "rate(go_memstats_alloc_bytes_total{namespace=\"$namespace\",pod=~\".*-controller-.*\"}[1m])", + "expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\",container!=\"POD\",container!=\"\",pod=~\".*-controller-.*\"}) by (pod)", "hide": false, "interval": "", "legendFormat": "{{pod}}",