Skip to content

Cherry-pick #4544 to master: Scale system.cpu.*.pct metrics by the number of cores#4550

Merged
tsg merged 1 commit intoelastic:masterfrom
andrewkroh:backport_4544_master
Jun 26, 2017
Merged

Cherry-pick #4544 to master: Scale system.cpu.*.pct metrics by the number of cores#4550
tsg merged 1 commit intoelastic:masterfrom
andrewkroh:backport_4544_master

Conversation

@andrewkroh
Copy link
Copy Markdown
Member

Cherry-pick of PR #4544 to master branch. Original message:

Change all system.cpu.*.pct metrics to be scaled by the number of CPU cores such that the values range on [0, 100% * number_of_cores]. This will make the CPU usage percentages from the system cpu metricset consistent with the system process metricset. The documentation for these metrics already stated that on multi-core systems the percentages could be greater than 100%. This makes the code match the docs, but does cause a change in behavior to the user.

(cherry picked from commit 67e2064)

Change all `system.cpu.*.pct` metrics to be scaled by the number of CPU cores such that the values range on `[0, 100% * number_of_cores]`. This will make the CPU usage percentages from the system cpu metricset consistent with the system process metricset. The documentation for these metrics already stated that on multi-core systems the percentages could be greater than 100%. This makes the code match the docs, but does cause a change in behavior to the user.
(cherry picked from commit 67e2064)
@andrewkroh andrewkroh force-pushed the backport_4544_master branch from f05a981 to 7d97a0e Compare June 23, 2017 17:17
@tsg tsg merged commit 362cbce into elastic:master Jun 26, 2017
@andrewkroh andrewkroh deleted the backport_4544_master branch July 5, 2017 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants