fix compatibility rule to convert to old node_cpu metric

Signed-off-by: Albert Mikaelyan <tahvok@gmail.com>
pull/2430/head
Albert Mikaelyan 3 years ago committed by Johannes 'fish' Ziemke
parent 5a2c83d0f9
commit cee386678c

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

Loading…
Cancel
Save