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

Baggage API vs Activity.Baggage #1842

Closed
ghost opened this issue Feb 22, 2021 · 1 comment
Closed

Baggage API vs Activity.Baggage #1842

ghost opened this issue Feb 22, 2021 · 1 comment
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Feb 22, 2021

Question

It's not clear to me what exactly the relationship is between Activity.Baggage and the new Baggage API. It seems initially OpenTelemetry Baggage was implemented using Activity.Baggage and then it was changed again. I'm adding OpenTelemetry support to my RPC library and I'm wondering why/if I need to pass around activities and baggage when activity seems to contain baggage.

@ghost ghost added the question Further information is requested label Feb 22, 2021
@cijothomas
Copy link
Member

Activity.Baggage does not conform to the OpenTelemetry concept of Baggage. (it existed even before OpenTelemetry).
If you are interested in using Baggage as per OpenTelemetry, then use the Baggage API from OpenTelemetry.API package.

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

No branches or pull requests

1 participant