mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-28 14:22:51 -08:00
Signed-off-by: Yves Mettier <yves.mettier@orange.com> Co-authored-by: Yves Mettier <yves.mettier@orange.com>
This commit is contained in:
parent
a59b2d8990
commit
4bc1c02000
|
@ -41,16 +41,18 @@
|
|||
record: 'instance:node_memory_utilisation:ratio',
|
||||
expr: |||
|
||||
1 - (
|
||||
node_memory_MemAvailable_bytes{%(nodeExporterSelector)s}
|
||||
or
|
||||
(
|
||||
node_memory_Buffers_bytes{%(nodeExporterSelector)s}
|
||||
+
|
||||
node_memory_Cached_bytes{%(nodeExporterSelector)s}
|
||||
+
|
||||
node_memory_MemFree_bytes{%(nodeExporterSelector)s}
|
||||
+
|
||||
node_memory_Slab_bytes{%(nodeExporterSelector)s}
|
||||
node_memory_MemAvailable_bytes{%(nodeExporterSelector)s}
|
||||
or
|
||||
(
|
||||
node_memory_Buffers_bytes{%(nodeExporterSelector)s}
|
||||
+
|
||||
node_memory_Cached_bytes{%(nodeExporterSelector)s}
|
||||
+
|
||||
node_memory_MemFree_bytes{%(nodeExporterSelector)s}
|
||||
+
|
||||
node_memory_Slab_bytes{%(nodeExporterSelector)s}
|
||||
)
|
||||
)
|
||||
/
|
||||
node_memory_MemTotal_bytes{%(nodeExporterSelector)s}
|
||||
|
|
Loading…
Reference in a new issue