1
0
mirror of synced 2026-03-19 17:26:55 +00:00

Merge pull request #3098 from Santosh1176/monitoring

[Grafana] Use `container_memory_working_set_bytes` to report memory consumption
This commit is contained in:
Stefan Prodan
2022-09-29 11:16:10 +03:00
committed by GitHub

View File

@@ -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}}",