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 5d6738e6c5
commit f40dd31780

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

Loading…
Cancel
Save