-
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
Bug or a feature? #8889
Comments
Well the mentioned value matches the default documented in the We have two options, either make the options match the text ("all included by default") by changing SelectorExclude: []string{"*"},```
to
```golang
`SelectorExclude: []string{""}, OR to change the description that everything is _ex_cluded by default. I think the first option makes more sense, but as this was already be published in releases ppl might rely on this... |
Sorry for the late response, the first option does make more sense but it could break backward compatibility. Maybe for now we update the description, and we could update the option to match the text in 2.0? We are tracking breaking changes here: #9478 |
@sspaink I guess the question goes to @PPerminov!? :-) |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
telegraf/plugins/inputs/kube_inventory/kube_state.go
Line 217 in 2372db9
Isn't it a bug to have "*" in that line? Because according to the function Match of IncludeExcludeFilter if you will have anything in "exclude" and anything in "include" then "exclude" will overwrite include. So by default you need to explicit an empty array in config for exclude to avoid that.
The text was updated successfully, but these errors were encountered: