Signed-off-by: Yves Mettier <yves.mettier@orange.com>

Co-authored-by: Yves Mettier <yves.mettier@orange.com>
pull/2174/head
ngc104 3 years ago committed by GitHub
parent a59b2d8990
commit 4bc1c02000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,16 +41,18 @@
record: 'instance:node_memory_utilisation:ratio', record: 'instance:node_memory_utilisation:ratio',
expr: ||| expr: |||
1 - ( 1 - (
node_memory_MemAvailable_bytes{%(nodeExporterSelector)s}
or
( (
node_memory_Buffers_bytes{%(nodeExporterSelector)s} node_memory_MemAvailable_bytes{%(nodeExporterSelector)s}
+ or
node_memory_Cached_bytes{%(nodeExporterSelector)s} (
+ node_memory_Buffers_bytes{%(nodeExporterSelector)s}
node_memory_MemFree_bytes{%(nodeExporterSelector)s} +
+ node_memory_Cached_bytes{%(nodeExporterSelector)s}
node_memory_Slab_bytes{%(nodeExporterSelector)s} +
node_memory_MemFree_bytes{%(nodeExporterSelector)s}
+
node_memory_Slab_bytes{%(nodeExporterSelector)s}
)
) )
/ /
node_memory_MemTotal_bytes{%(nodeExporterSelector)s} node_memory_MemTotal_bytes{%(nodeExporterSelector)s}

Loading…
Cancel
Save