mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-24 21:24:30 -08:00
fix compatibility rule to convert to old node_cpu metric
Signed-off-by: Albert Mikaelyan <tahvok@gmail.com>
This commit is contained in:
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…
Reference in a new issue