Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Extract Upper64 bit trace ID from extension response #6041
Extract Upper64 bit trace ID from extension response #6041
Changes from 41 commits
69b6163
42c242a
94d9f24
00c5475
55245cd
ad19246
cee09c0
ddd0fb6
b300797
7b9bb9f
3fd8cd6
357f279
9fb8fcd
ad30105
a56874d
d2a6d92
274d538
83362d6
ed98cb1
52ccc64
60ccc82
bf5a010
7376508
c0c88f4
1bf0873
758301f
6e7966a
2b5c0dc
6f1be32
587426a
0ec8f01
a1838fa
43b2292
a4b1301
992259d
ce40a26
f710538
1d962d7
2363539
c6377c1
f6ef838
a898b31
83201d8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wound up removing this test since dd-trace doesn't seem to allow a distributed trace with no trace ID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right. A trace id is required when extracting trace context from headers, otherwise we ignore all the other data. But what changed here? Are we now trying to propagate trace context without a trace id?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. The
null
inLambdaCommon.CreatePlaceholderScope(tracer, null, "-1")
below was the trace id, and it was handled differently since the previous code was not usingSpanContextPropagator
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This value agrees with dd-trace-java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that
1914fe7789eb32be4fb6f07e011a6faf
has1914fe7789eb32be
in the upper 64 bits4fb6f07e011a6faf
(5744042798732701615
) in the lower 64 bits