Skip to content

Commit

Permalink
Merge pull request #3098 from Santosh1176/monitoring
Browse files Browse the repository at this point in the history
[Grafana] Use `container_memory_working_set_bytes` to report memory consumption
  • Loading branch information
stefanprodan authored Sep 29, 2022
2 parents 33a8748 + 6a1ba3c commit b8fd46d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down

0 comments on commit b8fd46d

Please sign in to comment.