Update node-exporter-freebsd.json

Replace 'node_memory_swap_in_bytes_total' with 'node_memory_swap_size_bytes'. Changes the calculation to ((used swap * 100) / swap size), giving used swap as a percentage of the maximum available swap.
This commit is contained in:
Geezabiscuit 2020-08-11 15:02:27 +01:00 committed by GitHub
parent b5d0deeadd
commit 21167676e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,7 +427,7 @@
"pluginVersion": "6.7.3",
"targets": [
{
"expr": "(node_memory_swap_used_bytes{instance=\"$node\",job=\"$job\"} * 100) / node_memory_swap_in_bytes_total{instance=\"$node\",job=\"$job\"}",
"expr": "(node_memory_swap_used_bytes{instance=\"$node\",job=\"$job\"} * 100) / node_memory_swap_size_bytes{instance=\"$node\",job=\"$job\"}",
"intervalFactor": 1,
"refId": "A",
"step": 900
@ -3659,4 +3659,4 @@
"list": []
},
"version": 4
}
}