-
Notifications
You must be signed in to change notification settings - Fork 544
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
span id to hex #2062
span id to hex #2062
Conversation
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 looks good. One last thing! Add a changelog entry then we'll merge and backport to 2.0.1
@joe-elliott One last question, extra logic would have to be added to this I believe but what happens if the span id has leading zeroes and it is longer than 16 characters? Still no trimming? |
since we're in "shouldn't happen" territory i'm fine with anything that:
|
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.
looks good!
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-2062-to-release-v2.0 origin/release-v2.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 2d50f21918c81a433e62b6f9b759ca7b98ed7482
# Push it to GitHub
git push --set-upstream origin backport-2062-to-release-v2.0
git switch main
# Remove the local backport branch
git branch -D backport-2062-to-release-v2.0 Then, create a pull request where the |
* span id to hex * logic * simplify * fmt * update test * what is logic * changelog (cherry picked from commit 2d50f21)
* span id to hex * logic * simplify * fmt * update test * what is logic * changelog (cherry picked from commit 2d50f21) Co-authored-by: Jennie Pham <[email protected]>
What this PR does: stop removing leading zeroes in span ids
Which issue(s) this PR fixes:
Fixes #2060
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]