cpu: Metric 'package_throttles_total' is per package. (#657)
* cpu: Metric 'package_throttles_total' is per package. 'package_throttles_total' is per package, not per cpu. This also reduces the total number of cpu time series a lot (esp for multi core cpus). * cpu: Better handling of a cpulist edge-case. * cpu: Extract the package number from the directory name. Do not rely on the range index. * cpu: Add package_throttle_count for node0 cpu1 This file must be ignored by the cpu collector.
This commit is contained in:
parent
abb58a31e2
commit
b0d5c00832
3 changed files with 86 additions and 16 deletions
|
|
@ -299,9 +299,7 @@ node_cpu_frequency_min_hertz{cpu="cpu1"} 8e+08
|
|||
node_cpu_frequency_min_hertz{cpu="cpu3"} 1e+06
|
||||
# HELP node_cpu_package_throttles_total Number of times this cpu package has been throttled.
|
||||
# TYPE node_cpu_package_throttles_total counter
|
||||
node_cpu_package_throttles_total{cpu="cpu0"} 30
|
||||
node_cpu_package_throttles_total{cpu="cpu1"} 30
|
||||
node_cpu_package_throttles_total{cpu="cpu2"} 6
|
||||
node_cpu_package_throttles_total{node="0"} 30
|
||||
# HELP node_disk_bytes_read The total number of bytes read successfully.
|
||||
# TYPE node_disk_bytes_read counter
|
||||
node_disk_bytes_read{device="dm-0"} 5.13708655616e+11
|
||||
|
|
|
|||
|
|
@ -116,6 +116,42 @@ Lines: 1
|
|||
1000
|
||||
Mode: 644
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node/devices
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node/devices/node0
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node/devices/node0/cpu0
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node/devices/node0/cpu0/thermal_throttle
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Path: sys/bus/node/devices/node0/cpu0/thermal_throttle/package_throttle_count
|
||||
Lines: 1
|
||||
30
|
||||
Mode: 644
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node/devices/node0/cpu1
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/bus/node/devices/node0/cpu1/thermal_throttle
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Path: sys/bus/node/devices/node0/cpu1/thermal_throttle/package_throttle_count
|
||||
Lines: 1
|
||||
30
|
||||
Mode: 644
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Path: sys/bus/node/devices/node0/cpulist
|
||||
Lines: 1
|
||||
0-3
|
||||
Mode: 644
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Directory: sys/class
|
||||
Mode: 755
|
||||
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue