Browse Source

fix bug in #2130 (#2170)

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
commit
4bc1c02000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/node-mixin/rules/rules.libsonnet

2
docs/node-mixin/rules/rules.libsonnet

@ -41,6 +41,7 @@
record: 'instance:node_memory_utilisation:ratio',
expr: |||
1 - (
(
node_memory_MemAvailable_bytes{%(nodeExporterSelector)s}
or
(
@ -52,6 +53,7 @@
+
node_memory_Slab_bytes{%(nodeExporterSelector)s}
)
)
/
node_memory_MemTotal_bytes{%(nodeExporterSelector)s}
)

Loading…
Cancel
Save