-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
K6_DATADOG_TAG_BLACKLIST not functional #1602
Comments
Also sort the keys before marshalling them with SystemTagSet for consistant output. fixes #1602
Also, sort the keys before marshaling them with SystemTagSet for consistent output. fixes #1602
Thanks for reporting this @guongle-ssense Apparently nobody tested that it hasn't been broken around #1148 but with #1604 it seems to work ;) |
Also, sort the keys before marshaling them with SystemTagSet for consistent output. fixes #1602 Co-authored-by: Ivan Mirić <[email protected]>
@mstoykov I have upgraded the k6 to v0.28.0 since the release stated the bug fix is there however when i run
When i go to the Datadog Metrics Explorer I still see all the TAG being there. Am i using it wrong or am i understanding the blacklist operation incorrectly? |
Hi @guongle-ssense, Can you screenshot what you see as I can't find something like that? From what I can find what you are doing should work, and also we released v0.29.0 last week, so you might be interested in upgrading to that as well (no datadog changes there, unfortunately) |
Environment
Expected Behavior
I am unsure how K6_DATADOG_TAG_BLACKLIST suppose to behave, but from several of the PRs I've checked within the repo, it is supposed to remove metrics that I would like the process to not send. However, I am getting an error regardless of what I do.
Actual Behavior
ERRO[0002] envconfig.Process: assigning K6_DATADOG_TAG_BLACKLIST to TagBlacklist: converting 'name,url,endpoint' to type stats.TagSet. details: invalid map item: "name"
Steps to Reproduce the Problem
export K6_DATADOG_TAG_BLACKLIST="name,url,endpoint"
if I do this
export K6_DATADOG_TAG_BLACKLIST=""
which is the default, all is well, however since Datadog charges per uniqueness, I would like to reduce certain metrics such as:etc.
The text was updated successfully, but these errors were encountered: