-
Notifications
You must be signed in to change notification settings - Fork 839
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
two traceparent headers are not rejected #1676
Comments
not a bug, it's an issue of an extractor. |
Wait, we still need to fix "an issue of an extractor", no? |
We need to fix an issue of the getter API first if we want to fix this in the extractor open-telemetry/opentelemetry-specification#433 |
custom extractor can check multi-value header and return joined string instead of first found value. |
This is still a bug in the overall handling of the W3C headers, though, isn't it, @malafeev ? I don't think this should be closed until it's working to spec, no matter where the issue lies. |
ok |
Note: you have to run at STRICT=2 to see this error (and a couple of others) |
@malafeev This test passes for me on the main branch, and I see the extractor concatenates the headers with a comma between them. Now that I have dug into the issue, I understand more of what you were saying. I think that this bug should be closed, because our W3C TraceContext implementation works to spec (in this instance at least). If someone's extractor is throwing data away, our HttpTraceContext implementation shouldn't be held to account. If we need to change the extractor/getter interface to allow more than one header, then that's a totally separate issue, and not this one. :) |
Closing, as not-a-bug. Sorry for the confusion, @malafeev ! |
Next w3c context propagation tests fails:
Got in #1653
Can be reproduced by running tests from mentioned PR
The text was updated successfully, but these errors were encountered: