Skip to content
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

v5 causing malformed tag value using "true" / "false" #309

Open
RobGraham opened this issue Jun 11, 2024 · 1 comment
Open

v5 causing malformed tag value using "true" / "false" #309

RobGraham opened this issue Jun 11, 2024 · 1 comment

Comments

@RobGraham
Copy link

After switching to v5, some of our charts in NewRelic stopped reporting because one of the tags we use to report a "true" or "false" value started having other erroneous data concatenated. This could be NewRelic but other than the version change of statsd, our implementation is unchanged. Switching back to v4, our metrics started reporting correctly.

I spent some time debugging into the library and saw that our isBot tag is correctly showing a true or false value: "isBot:false" - however, there seems to be a "c|" separator which is causing mischief with this tag in NewRelic.

NewRelic query
newrelic

Debugging locally:

Aggregator Flush
aggregator flush

statsdBuffer Write
statsdBuffer writeCount

@carlosroman
Copy link
Contributor

This is expected as v5 uses the new DogStatsD protocol v1.2. The container tag should not be appended if you disable Origin detection when creating the client (use option WithoutOriginDetection).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants