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

Speed up getting interfaces stats #5757

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Speed up getting interfaces stats #5757

merged 1 commit into from
Apr 23, 2019

Conversation

lukaszo
Copy link
Contributor

@lukaszo lukaszo commented Apr 23, 2019

On nodes where there are hundreds of interfaces net plugin can take a very long time to finish.

On my test env for 700 interfaces it takes over 6 seconds to gather stats. With this patch it takes only 0.1 second.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson danielnelson added this to the 1.11.0 milestone Apr 23, 2019
@danielnelson danielnelson added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin performance problems with decreased performance or enhancements that improve performance labels Apr 23, 2019
@danielnelson danielnelson merged commit 01eecee into influxdata:master Apr 23, 2019
@danielnelson
Copy link
Contributor

Nice, thanks!

hwaastad pushed a commit to hwaastad/telegraf that referenced this pull request Jun 13, 2019
bitcharmer pushed a commit to bitcharmer/telegraf that referenced this pull request Oct 18, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin performance problems with decreased performance or enhancements that improve performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants