diff options
author | Thomas Lin <t.lin@mail.utoronto.ca> | 2020-01-01 07:10:53 -0500 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2020-01-01 13:10:53 +0100 |
commit | 3ddc82c2d8d11eec53ed5faa8db969a1bb81f8bb (patch) | |
tree | a305412f4eaec3b234a14ba86ff32f00f3b411e3 /CHANGELOG.md | |
parent | f316099f87b0fc8e0fda0d56c1b6e8adcc51e1a8 (diff) | |
download | prometheus_node_collector-3ddc82c2d8d11eec53ed5faa8db969a1bb81f8bb.tar.bz2 prometheus_node_collector-3ddc82c2d8d11eec53ed5faa8db969a1bb81f8bb.tar.xz prometheus_node_collector-3ddc82c2d8d11eec53ed5faa8db969a1bb81f8bb.zip |
Fixed inaccurate 'node_network_speed_bytes' when speeds are low (#1580)
Integer division and the order of operations when converting Mbps to Bps
results in a loss of accuracy if the interface speeds are set low.
e.g. 100 Mbps is reported as 12000000 Bps, should be 12500000
10 Mbps is reported as 1000000 Bps, should be 1250000
Signed-off-by: Thomas Lin <t.lin@mail.utoronto.ca>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b65a300..2f85f51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -34,6 +34,7 @@ | |||
34 | * [BUGFIX] Strip path.rootfs from mountpoint labels #1421 | 34 | * [BUGFIX] Strip path.rootfs from mountpoint labels #1421 |
35 | * [BUGFIX] Fix empty string in path.rootfs #1464 | 35 | * [BUGFIX] Fix empty string in path.rootfs #1464 |
36 | * [BUGFIX] Fix typo in cpufreq metric names #1510 | 36 | * [BUGFIX] Fix typo in cpufreq metric names #1510 |
37 | * [BUGFIX] Fix network speed math #1580 | ||
37 | 38 | ||
38 | ## 0.18.1 / 2019-06-04 | 39 | ## 0.18.1 / 2019-06-04 |
39 | 40 | ||