mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Fix CPU renaming rule
Signed-off-by: Florian Best <best@univention.de>
This commit is contained in:
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…
Reference in a new issue