node_exporter/collector/fixtures
Karsten Weiss efc1fdb6d0 cpu: Add a 2nd label 'package' to metric node_cpu_core_throttles_total (#871)
* cpu: Add a 2nd label 'package' to metric node_cpu_core_throttles_total

This commit fixes the node_cpu_core_throttles_total metrics on
multi-socket systems as the core_ids are the same for each package.
I.e. we need to count them seperately.

Rename the node_package_throttles_total metric label `node` to `package`.

Reorganize the sys.ttar archive and use the same symlinks as the Linux
kernel. Also, the new fixtures now use a dual-socket dual-core cpu w/o
HT/SMT (node0: cpu0+1, node1: cpu2+3) as well as processor-less
(memory-only) NUMA node 'node2' (this is a very rare case).

Signed-off-by: Karsten Weiss <knweiss@gmail.com>

* cpu: Use the direct /sys path to the cpu files.

Use the direct path /sys/devices/system/cpu/cpu[0-9]* (without symlinks)
instead of /sys/bus/cpu/devices/cpu[0-9]*.

The latter path also does not exist e.g. on RHEL 6.9's kernel.

Signed-off-by: Karsten Weiss <knweiss@gmail.com>

* cpu: Reverse core+package throttle processing order

Signed-off-by: Karsten Weiss <knweiss@gmail.com>

* cpu: Add documentation URLs

Signed-off-by: Karsten Weiss <knweiss@gmail.com>
2018-04-09 18:01:52 +02:00
..
proc Update fixtures 2018-03-29 22:00:02 +01:00
qdisc Add qdisc collector for Linux (#580) 2017-05-23 11:55:50 +02:00
textfile Treat custom textfile metric timestamps as errors (#769) 2018-02-27 19:43:38 +01:00
wifi Expand wifi collector for more interface types 2017-03-20 12:25:01 -04:00
e2e-output.txt cpu: Add a 2nd label 'package' to metric node_cpu_core_throttles_total (#871) 2018-04-09 18:01:52 +02:00
e2e-ppc64le-output.txt Update fixtures 2018-03-29 22:00:02 +01:00
ip_vs_result.txt Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
sys.ttar cpu: Add a 2nd label 'package' to metric node_cpu_core_throttles_total (#871) 2018-04-09 18:01:52 +02:00