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

Update gopsutil: fix procstat performance regression #8210

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

reimda
Copy link
Contributor

@reimda reimda commented Oct 1, 2020

This gopsutil update addresses a performance regression where getting stats for a process would read many files to check whether the program is running under virtualization. In telegraf this would happen for every process running on the system on every collection interval causing excessive cpu usage. The update changes gopsutil to only check for virtualization once. See shirou/gopsutil#942

closes #7811
closes #7884
closes #7883

@ssoroka ssoroka changed the title Update gopsutil module Update gopsutil: fix procstat performance regression Oct 1, 2020
@ssoroka ssoroka merged commit b871773 into master Oct 1, 2020
@ssoroka ssoroka deleted the update-gopsutil branch October 1, 2020 19:54
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants