-
Notifications
You must be signed in to change notification settings - Fork 1.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
Adds a Dogstatsd Tag Filter #6526
base: main
Are you sure you want to change the base?
Conversation
Chris Leavoy seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no Documentation review needed
Hey Chris, Thank you for this good PR. That's indeed a solution for a few use-cases, especially since it's nearly free when not used (as you're just testing a |
Anyone know if there a bot command or something to trigger a CI build run? I'd like to see the tests pass (works locally) and get docker image for the dogstatsd agent. |
Could you eventually catch-up master? The AppVeyor issue should have been fixed in |
9b47489
to
c1e7db8
Compare
Hi @chrisleavoy, apologies for not reviewing your PR in time for 7.24. We are reviewing similar use cases internally to understand how to best address them. I'll update this PR in the next few weeks accordingly |
Hi @olivielpeau , a few questions on this PR feature It would be useful to link this PR to issues in the repo for metric tag filtering, which include |
Are there any estimations when this feature can be released (or similar one)? It is a blocking issue for DataDog/Spark integration since by default DataDog includes even stageId/jobId into tags which leads to 10^5 custom metrics in real production environments. |
Thank you for your pull request. While we appreciate your initiative, we're currently prioritizing caution and thoughtfulness in adding features to the Datadog agent to ensure optimal solutions for our users' needs. We encourage you and our users to explore these existing options such as Metrics without Limits. For any further inquiries or specific needs, please reach out through our support channel (https://www.datadoghq.com/support/ ) or contact your Customer Success Manager (CSM). |
Could you elaborate which kind of problems this would cause? Maybe the PR author could address them. #3130 has around a hundred thumbs-up. It seems like a quite important feature for many of us. |
What does this PR do?
Adds a filtering capability to the dogstatsd server that removes or modifies undesirable tags.
Motivation
Many statsd clients out there add undesirable tags to their metrics that result in inaccurate histograms and financial burden. For example, some libraries add an extremely high cardinality tag called
request_id
. Some libraries add UUID's into tag values. Tags with empty string values also mess up the Datadog UI. The use cases for this are plentiful.Additional Notes
No.
Describe your test plan
Run the agent with:
DD_DOGSTATSD_TAG_FILTERS='[":$", "^undesirable_tag:", ":undesirable_value"]'