-
Notifications
You must be signed in to change notification settings - Fork 40
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
Errors when x-datadog-sampling-priority
header is present but x-datadog-tags
is not
#241
Comments
Yes we have the same issue and need to rollback to v1.3.2 |
Thanks for reporting this. I probably need a branch like this for dd-opentracing-cpp/src/span_context.cpp Lines 391 to 397 in 9b9248f
nginx-opentracing needs to know in advance which HTTP headers we might add to the upstream request. It does this by pretending to serialize some trace context, and then inspects the headers written. The tracer is expected to detect this pretend serialization and write all tags that it ever might. The issue probably is that I didn't add x-datadog-tags there.
Our nginx integration test didn't catch this. I'll play with it and propose a fix. |
Thanks for looking into this quickly! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nginx version: 1.23.1
Datadog opentracing version: 1.3.4 (issue is also present in 1.3.3, but not in 1.3.2)
Nginx opentracing version: 0.26.0
Nginx server config
When the request contains the headers
the following error is emitted
If I add the header
the nginx error is not emitted anymore.
I suspect the pull request #230
The text was updated successfully, but these errors were encountered: