-
Notifications
You must be signed in to change notification settings - Fork 318
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
Blocklist for mongodb #831
Comments
We had success setting this environment variable:
That's on the Docker agent, but I suspect it'd work with other iterations as well. |
Wow, thanks @EricZaporzan! It seems working for me, even though we're using DD on Heroku (without Docker) and there are no official docs about this env variable for Heroku agent. If somebody from the DD team reads this, it would be nice to have this env variable mentioned here: https://docs.datadoghq.com/agent/basic_agent_usage/heroku/. Thanks. |
Yes, documentation in this area could be a lot clearer. It seems like any of the variables enumerated in this file should be fair game for any of the iterations of the agent. https://github.com/DataDog/datadog-agent/blob/master/pkg/trace/config/env.go Glad it worked! |
Glad you were able to get it to work! I'll leave the issue open since there would also be value to have this configuration directly in the tracer as well. For the documentation, in general all environment variables are the same regardless of the how it's deployed. We should probably move the list to a single place instead of duplicating subsets. |
Thanks, @rochdev 🙏 It would definitely help developers to find a way to filter out something redundant like those |
These answers are money guys! Thanks so much! I think that many people like us using the MEAN stack are annoyed of these irrelevant spans showing up in APM. |
I tried this, but doesn't for me :/ |
in my case, it wasn't working because I was putting
Obviously, only use one of the |
Does anyone have this working with lambda + datadog extension? I tried to set DD_APM_IGNORE_RESOURCES & DD_APM_FILTER_TAGS_REJECT via lambda environment but neither work. I turned on debug, the extension seems to acknowledge the env var
|
Hi, I get quite many requests from mongodb that I don't really want to be analyzed as they happen very often and can easily make it up to 1M of spans/month. I tried to find a way to block (filter out) particularly this kind of command but didn't find anything.

Is there a way to have something similar to
http.blacklist
configuration option, but for commands to mongodb?The text was updated successfully, but these errors were encountered: