diff options
author | Karsten Weiss <knweiss@gmail.com> | 2018-04-09 18:01:52 +0200 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2018-04-09 18:01:52 +0200 |
commit | efc1fdb6d0ea7554db381a99ace71768468359da (patch) | |
tree | d4dc99ad7fe647cd7f892ede502c285de34f1b11 /CHANGELOG.md | |
parent | f32ec245a329ebc9c7a415a2c73bcdb57bd754b2 (diff) | |
download | prometheus_node_collector-efc1fdb6d0ea7554db381a99ace71768468359da.tar.bz2 prometheus_node_collector-efc1fdb6d0ea7554db381a99ace71768468359da.tar.xz prometheus_node_collector-efc1fdb6d0ea7554db381a99ace71768468359da.zip |
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>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bc62ee..aa0a88c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -2,10 +2,14 @@ | |||
2 | 2 | ||
3 | **Breaking changes** | 3 | **Breaking changes** |
4 | 4 | ||
5 | This release contains more breaking changes: | ||
6 | * Rename label `node` of metric `node_cpu_package_throttles_total` to `package`. | ||
7 | * Add 2nd label `package` to metric `node_cpu_core_throttles_total`. | ||
8 | |||
5 | * [CHANGE] | 9 | * [CHANGE] |
6 | * [FEATURE] | 10 | * [FEATURE] |
7 | * [ENHANCEMENT] | 11 | * [ENHANCEMENT] |
8 | * [BUGFIX] | 12 | * [BUGFIX] Count core throttles per core and per package #871 |
9 | 13 | ||
10 | ## 0.16.0-rc.1 / 2018-04-04 | 14 | ## 0.16.0-rc.1 / 2018-04-04 |
11 | 15 | ||