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

Tolerate reads of 128 bit X-B3-TraceId #28

Merged
merged 1 commit into from
Sep 17, 2016
Merged

Tolerate reads of 128 bit X-B3-TraceId #28

merged 1 commit into from
Sep 17, 2016

Conversation

codefromthecrypt
Copy link

The first step of transitioning to 128bit X-B3-TraceId is tolerantly reading 32 character long ids by throwing away the high bits (any characters left of 16 characters). This allows the tracing system to more flexibly introduce 128bit trace id support in the future.

Ex. when X-B3-TraceId: 463ac35c9f6413ad48485a3953bb6124 is received, parse the lower 64 bits (right most 16 characters ex 48485a3953bb6124) as the trace id.

See openzipkin/b3-propagation#6

The first step of transitioning to 128bit X-B3-TraceId is tolerantly reading 32 character long ids by throwing away the high bits (any characters left of 16 characters). This allows the tracing system to more flexibly introduce 128bit trace id support in the future.

Ex. when X-B3-TraceId: 463ac35c9f6413ad48485a3953bb6124 is received, parse the lower 64 bits (right most 16 characters ex 48485a3953bb6124) as the trace id.

See openzipkin/b3-propagation#6
@nicmunroe
Copy link
Member

LGTM. I'm swamped at the moment so it might be a few days before this gets merged and deployed. If there's a community desire for this right now then people should let me know and I'll reshuffle some priorities.

@nicmunroe nicmunroe merged commit d76f375 into Nike-Inc:master Sep 17, 2016
@nicmunroe
Copy link
Member

@adriancole merged and released. Thanks for the update!

@codefromthecrypt
Copy link
Author

np!

On Sun, Sep 18, 2016 at 1:56 AM, Nic Munroe notifications@github.com
wrote:

@adriancole https://github.com/adriancole merged and released. Thanks
for the update!


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#28 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD61yvdKxP8X7a9MkglqabMmG4k4Giuks5qrCnMgaJpZM4J99Eq
.

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.

2 participants