-
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
input system net filters ? #1073
Comments
that's a good idea, I'll work on making that a glob filter |
We just ran into this. We have hosts which run hundreds of containers each with two interfaces. And we were regularly seeing telegraf consume 150% CPU continually even though we were dropping all of the container interfaces with
When we switch to limit to only a few interfaces with But we'd really like to be able to use globs here. We have heterogeneous deployments across multiple providers with different network topologies which means that the interfaces we care about might be named one of about 8 different things although there are usually only 2 or 3 per host that we want to report on. We could of course use Chef to write out a custom config file for each node based on the actually installed interfaces, but that is a decent amount of work and we really prefer to keep things as simple and consistent as possible. @sparrc any update on progress here. We were about to open an issue and offer to fix this - seems trivial to do. I'll hold off if you are working on it already but we could contribute if you didn't get around to it yet? Behaviour I propose I think is the same as you are discussing here:
|
@banks ping, did you ever get around to working on this? |
No sorry. I'd completely forgotten actually... we stuck with hard coded list of possible external interfaces to avoid all the hundreds of container veths. |
Added in #3140 |
Hi,
In the input "system net", there is a parameter to include interface. Is it possible to use "eth*" ?
Also, is it possible to have an exclude parameter ?
For exemple to exclude all 'tap' interfaces.
Regards
The text was updated successfully, but these errors were encountered: