-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
added config flag to skip collection of network protocol metrics #3880
added config flag to skip collection of network protocol metrics #3880
Conversation
Would you be interested in chaining down a list of protocols to the underlying call to gopsutil? Then we would have an option like
|
I can have a go at that. 2 questions:
|
I guess we would need to have the boolean as well, otherwise we still can't disable them all and keep backwards compatibility. I was kind of hoping to avoid adding a boolean option here, since they often don't compose well as the plugin grows. Let's scratch the idea of the |
My apologies. I'm new to telegraf and hadn't fully appreciated the tag and filtering capabilities.
At least for my use case, this config flag isn't required. |
It hadn't occurred to me either that it would be so easy to filter. I think I will revert this change then since it is always better to have a smaller interface and we haven't had any other requests for this. |
Would you be interested in adding option to gather stats from "interface to Internet" only? It is useful in case there are many hosts with different interface naming, numbering, etc. |
@zabudskyi How do you think we should pick which interfaces are to the internet? |
Added config flag to system net (inputs.net) to ignore collection of protocol stats.
Provides feature requested in #3879
Required for all PRs: