Skip to content

Commit

Permalink
fix: node memory panel query in k8s-views-global.json (#20)
Browse files Browse the repository at this point in the history
Updated to show "real" memory usage by instance (node).  These values now add up the Real Global RAM Usage amount.
  • Loading branch information
reefland committed Aug 6, 2022
1 parent 132a296 commit 1b870c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboards/k8s-views-global.json
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@
},
"editorMode": "code",
"exemplar": true,
"expr": "sum(container_memory_working_set_bytes{image!=\"\"}) by (node)",
"expr": "sum(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) by (instance)",
"interval": "$resolution",
"legendFormat": "{{ node}}",
"range": true,
Expand Down

0 comments on commit 1b870c4

Please sign in to comment.