Browse Source

Fix CPU renaming rule

Signed-off-by: Florian Best <best@univention.de>
pull/2432/head
Siavash Sefid Rodi 3 years ago committed by Johannes 'fish' Ziemke
parent
commit
f40dd31780
  1. 4
      docs/example-16-compatibility-rules.yml

4
docs/example-16-compatibility-rules.yml

@ -21,8 +21,8 @@ groups:
expr: node_intr
- name: node_exporter-16-cpu
rules:
- record: node_cpu_seconds_total
expr: label_replace(node_cpu, "cpu", "$1", "cpu", "cpu(.+)")
- record: node_cpu
expr: label_replace(node_cpu_seconds_total, "cpu", "$1", "cpu", "cpu(.+)")
- name: node_exporter-16-diskstats
rules:
- record: node_disk_read_bytes_total

Loading…
Cancel
Save