Skip to content

Baggage Propagation Across Process Boundaries #2274

Answered by vmarchaud
mannyluvstacos asked this question in Q&A
Discussion options

You must be logged in to vote

Is using propagation.inject of PropagationAPI on the request.header the appropriate way to propagate baggage across process boundaries to the next process in the trace?

Http instrumentation should automatically propagate baggage for outgoing http request (if HttpBaggagePropagator is registered)

What is the purpose then of HttpBaggagePropagator? what does it serve?

We have a concept of propagator that you can register on the api and then instrumentation will use them to know what to inject on outgoing request. In this case the HttpBaggagePropagator will pickup baggage from the context and inject it into what is given by the http instrumentation (headers for http)

In my example I am ma…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mannyluvstacos
Comment options

@vmarchaud
Comment options

Answer selected by mannyluvstacos
Comment options

You must be logged in to vote
6 replies
@nata7che
Comment options

@vmarchaud
Comment options

@nata7che
Comment options

@vmarchaud
Comment options

@nata7che
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants