-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 options to exclude namespace #36217
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
You can already set namespaces to scrape here: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/k8sobjectsreceiver/README.md?plain=1#L54 Do you want to enhance that option? |
@atoulme as far as i understand its a whitelist, i want the option to blacklist namespace |
OK, please explain how those 2 options would coexist. Please offer a configuration example. |
@atoulme i do think its more useful to exclude namespace since in my experience i want to stop watching namespaces with high amount of events
|
whitelist and blacklist are no longer in use ; typically we use allowlist and denylist. |
@atoulme a list of namespace to exclude |
hey @atoulme i would like to contribute this feature myself, can we agree on how (if you agree with my suggestion)? |
Component(s)
receiver/k8sobjects
Is your feature request related to a problem? Please describe.
yes, in our cluster we have seen that in certain namespace that is has a heavy spike pattern and generates around 50k events, this causes our otel daemonset to get killed my oom
Describe the solution you'd like
we would like the optiont to exclude namespace when using the k8sobjects receiver
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: