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

tracer: 128-bit trace id bug fixes #1812

Merged
merged 4 commits into from
Mar 17, 2023

Conversation

katiehockman
Copy link
Contributor

@katiehockman katiehockman commented Mar 17, 2023

What does this PR do?

Fixes a few 128-bit bugs:

  • guarantee that the propagating tags have been set before reading them during extraction
  • only set _dd.p.tid if the top 64 bits is not empty or zero
  • always set _dd.p.tid to 16 characters, with padding if needed

PR was a collaboration with @ajgajg1134 @knusbaum @lievan

Motivation

Describe how to test/QA your changes

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

@katiehockman katiehockman changed the base branch from main to shared/128-bit March 17, 2023 17:21
@katiehockman katiehockman marked this pull request as ready for review March 17, 2023 17:45
@katiehockman katiehockman requested a review from a team March 17, 2023 17:46
@katiehockman katiehockman added this to the v1.49.0 milestone Mar 17, 2023
@katiehockman katiehockman merged commit 1bdae00 into shared/128-bit Mar 17, 2023
@katiehockman katiehockman deleted the katiehockman/128-bit-testing branch March 17, 2023 18:02
@katiehockman katiehockman changed the title WIP: tracer: 128-bit trace id bug fixes tracer: 128-bit trace id bug fixes Mar 17, 2023
katiehockman added a commit that referenced this pull request Mar 27, 2023
- guarantee that the propagating tags have been set before reading them during extraction
- only set _dd.p.tid if the top 64 bits is not empty or zero
- always set _dd.p.tid to 16 characters, with padding if needed
katiehockman added a commit that referenced this pull request Mar 28, 2023
- guarantee that the propagating tags have been set before reading them during extraction
- only set _dd.p.tid if the top 64 bits is not empty or zero
- always set _dd.p.tid to 16 characters, with padding if needed
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

Successfully merging this pull request may close these issues.

None yet

3 participants