-
Notifications
You must be signed in to change notification settings - Fork 66
Add B3 format #177
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
Add B3 format #177
Conversation
bg451
commented
Oct 15, 2019
•
edited
Loading
edited
- Refactors inject/extract to allow for custom propagators
- Adds B3 propagator
Are we not implementing B3 extract? |
The class inherits from the ls propagator, this is the extract method but with the b3 prefix: https://github.com/lightstep/lightstep-tracer-javascript/pull/177/files#diff-0bd811c70646164f4df5cb606617eef3R33 |
I guess there is a good question of whether we should ignore the sampled field for B3? |
Oh, d'oh. In terms of sampled... I think we do need to propagate that correctly. |
I'm not sure about the right answer on how to handle the sampled flag, but the Java implementation |
Just to make things interesting. The Ruby implementation, at least as it's currently proposed, is propagating the sampled flag. See: lightstep/lightstep-tracer-ruby@5eb1644. This is in part due to the comment above. I think we need to consider how propagating a |
Well, we haven't really written down the logic behind this anywhere afaik but historically we've always injected a |
@austinlparker updated to propagate sampled flag if it's there, ptal |
…javascript into bg/b3_format