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

tracing: support getting/setting baggage on spans #11622

Closed
mattklein123 opened this issue Jun 17, 2020 · 5 comments
Closed

tracing: support getting/setting baggage on spans #11622

mattklein123 opened this issue Jun 17, 2020 · 5 comments
Labels

Comments

@mattklein123
Copy link
Member

The Envoy span API:

Does not support getting/setting baggage. At Lyft we will need to make use of this against the OT driver so will need to add this support. It should be fairly trivial to call through to the OT driver code for this but will need to figure out how to handle this generically for tracers that do not support baggage (possibly a feature capability bit or similar).

cc @rnburn @objectiser @garrettheel

@objectiser
Copy link
Contributor

but will need to figure out how to handle this generically for tracers that do not support baggage (possibly a feature capability bit or similar).

Can't it just be a no-op.

@mattklein123
Copy link
Member Author

Can't it just be a no-op.

I think NOP is probably fine to start with, but I could imagine some uses cases in which people would think they are sending baggage and it doesn't actually do anything in practice?

@LisaLudique
Copy link
Contributor

What are your thoughts on logging a warning to avoid failing silently in tracers that do not support baggage (i.e. in the no-op methods)?

@matthewgrossman
Copy link
Contributor

with #12260 merged do we want to close this issue? Or we do we want to leave it as a tracker for other Tracer's not-yet-implemented functionality?

@mattklein123
Copy link
Member Author

I think we can close for now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants