Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online cpus #3035

Merged
merged 6 commits into from Jul 21, 2017
Merged

Online cpus #3035

merged 6 commits into from Jul 21, 2017

Conversation

eesprit
Copy link
Contributor

@eesprit eesprit commented Jul 20, 2017

This patch fixes #2964
It take cares of the OnlineCPUs info that is returned by recent docker daemons (and which is set to number of CPU by the client if the daemon does not return it).
It updates the docker client to 17.03.2-ce.
I have added an assertion test method to check that telegraf does not added tagged metrics for offline cpu.

The cpu usage percentage calculation takes also cares of the online cpus.

@danielnelson danielnelson merged commit 681d200 into influxdata:master Jul 21, 2017
@danielnelson danielnelson added this to the 1.4.0 milestone Jul 21, 2017
vlamug pushed a commit to vlamug/telegraf that referenced this pull request Jul 24, 2017
jeichorn pushed a commit to jeichorn/telegraf that referenced this pull request Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker_container_cpu metrics does not manage well per_cpu stats (online_cpus) in presence of offline CPUs
2 participants