-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[receiver/k8sobjects] Allow regexp with excluding namespaces in watch #31761
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@mk-raven we have a |
@mk-raven This should not be implemented at the receiver level since the kube-apiserver doesn't support the use of wildcards in the namespace. I recommend getting events from all namespaces and using filterprocessor to include/exclude events from specified namespaces. |
Since we have existing solutions I am going to close this issue. @mk-raven please let me know if the proposed solutions dont work and I can reopen and we can keep discussing. |
Component(s)
receiver/k8sobjects
Is your feature request related to a problem? Please describe.
In many cases we are not interested get events from some namespaces. Its could be great if we can use it and dont make overhead about amount of event data in our storage.
Describe the solution you'd like
For example allow namespaces = [opentelemetry*], excluded namespace = [*system]
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: