Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Added support for 128bit to B3 decoder #144

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Conversation

Falco20019
Copy link
Collaborator

Which problem is this PR solving?

Fixes #143

Short description of the changes

Currently, B3 TraceId extraction only supports fallback to 64 bit. Since other tracers by now also support 128 bit, the behavior was aligned with the regular TextMapCodec again.

The HexCodec class was removed since it's redundant now with the FromString implementations of SpanId and TraceId. B3TextMapCodec earlier returned null on problems. Due to using the ExceptionCatchingExtractorDecorator, it's better to throw an exception that gets logged and still gracefully returns null.

@Falco20019 Falco20019 added this to the v0.3.2 milestone Apr 18, 2019
@yurishkuro
Copy link
Member

don't know what github is smoking...

image
image

@yurishkuro yurishkuro merged commit 0794ea7 into master Apr 23, 2019
@Falco20019 Falco20019 deleted the Falco20019/fix-b3-128bit branch April 23, 2019 05:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

128 bit trace id not working with b3 propagation
2 participants