-
Notifications
You must be signed in to change notification settings - Fork 289
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
WARN datadog.trace.agent.core.propagation.DatadogTagsFactory - Invalid datadog tags header value #5930
Comments
Hi @ivankatliarchuk, the
|
Hi @bantonsson . Thanks for looking at it
and configuration
.Net version is We created a ticket in DD Support as well. The possible suggested fix is to update .Net tracer library. DD Support Request. Let's say we do not have a significant controll over our clients. Is there is a way to fix it in Java library e.g. reject incorrect tracer or smth? |
@ivankatliarchuk The Java tracer will ignore this part of the trace information, but continue the rest of the trace. The logging is just very noisy and we probably need to fix that going forward. As for the |
So current
I have enabled I might need to enable |
Thanks @ivankatliarchuk that list is great. I don't think there is anything more that you need to get, or enable. There is nothing wrong with this Java tracer installation, and the only way to turn down the logging is to set the property |
I do not think we are planning to change logger level and have only ERRORs. My understanding, some traces are not sent to Datadog due to unsupported headers. Is there a way to actually fix it or the only way is to supress message with ERROR log level? |
That logger level is only for the internal Java Tracer logging, and it was a suggestion if the logging is a problem for your service. Unfortunately right now, there is no other way to get rid of those log messages. As for traces not being sent, the warning you see only means that a part of extra information about the trace is discarded since it is invalid. The rest of the trace will continue to propagate as normal. |
Cool. I let the team now. |
We've also observed this error starting to populate our java app logs. This is on a vanilla installation using the auto-implementation libraries. Versions are as follows:
|
Similar issue here but after latest release. After 30eeaf5 we see a lot of new WARN level logs from the agent:
|
We started experiencing this same issue starting with v1.24.1, previously we were using v1.23.0 |
Same here, is there any workaround to fix this issue? |
We begin to have a big number of errror too with agent 1.25.1 |
we also met same issue. |
Hi, sorry for not getting back to you all earlier. The reason that this is happening more now, is because the Java Datadog Tracer since version 1.24+ is now parsing the W3C We will implement log throttling for this, but it would be great if you could tell us which language tracers and versions you have in your system. |
🤖 This issue has been addressed in the latest release. See full details in the Release Notes. |
We do not believe the -1 and 2 values to illegal priorities: They're in use in existing dd-tracers: dd-trace-py // propagation/http.py
dd-trace-js // ext/priority.js
(And most likely more) Such priorities also have dedicated logic in the trace-agent,code is here. I hope that the above elements are sufficient to demonstrate that support of -1 and 2 would be beneficial to dd-trace-java. The word "illegal" you used is normative wording - I'm not aware of any public specification for dd-trace headers. We would certainly benefit from having a specification - not for lack of alternatives, but for clarity and interop. Cheers, PS: Furthermore, I believe -2 or 3 should be legal as well, but it has various glitches from trace-agent to tracers that prevent their use. (i.e. who is "USER"? we run systems, we have developers, they're all being confused as "USER" today. It'd be clearer if I could say "-2/3" is from INTAKE_SYSTEM_A, "-3/4" is from COSTCONTROL_SYSTEM_A and keep -2/1 for USER/OPERATOR/DEVELOPER/HUMAN decisions) |
Hi @eliebleton-manomano, the problem is not the sampling priority |
Hi @bantonsson! Thanks for the quick reply and sorry for the misunderstanding. We are running into issues with this parser this morning and I was too quick to assume this was one and the same problem - turns out it isn't. I'll go on and open a new issue describing what we ran into to reduce confusion. |
That was also said too quick ... We are seing a variant that has not yet been reported in this thread, but it does look quite similar:
The only possibly helpful thing I can add with any confidence is that the calling system is running I have yet to find out the original system that sent W3C propagation headers in the first place. |
@eliebleton-manomano The |
@eliebleton-manomano Have you gotten any success on fixing the issue? We bumped into the same thing when we udated the DataDog agent |
I have not and I have yet to report this in due form to the |
Every request where request header contains something like
Key - tracestate | value - dd=s:1;o:synthetics;t.dm:--128
logs a messageI'm struggling to identify how the
t.dm
or_dd.p.dm
value is actually computed and under which circumstances it could have--
. I would assume any request witht.dm:--XXXX
could be invalid.The text was updated successfully, but these errors were encountered: