Skip to content
Snippets Groups Projects
Commit 0761ce60 authored by Florian Sesser's avatar Florian Sesser
Browse files

Simplify Grafana used memory query

node_memory_MemAvailable_bytes is a better estimator than the sum I used before
says some Prometheus documentation.  It is also almost the same, but reads nicer.
parent ae052f01
No related branches found
No related tags found
5 merge requests!315update production,!314update production,!313update production,!312update production,!304Simplify Grafana used memory query
Pipeline #2136 passed
......@@ -370,7 +370,7 @@
"pluginVersion": "8.3.5",
"targets": [
{
"expr": "1 - (node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes) / node_memory_MemTotal_bytes\r\n",
"expr": "1 - node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes",
"interval": "",
"intervalFactor": 4,
"legendFormat": "{{instance}}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment