Skip to content

How to propagate Context in batch processing? #3826

Answered by jkwatson
jstaffans asked this question in Q&A
Discussion options

You must be logged in to vote

If the only thing that the step is aware of is the filename, it will probably be quite difficult to propagate the trace across step boundaries. Are the steps running on the same thread? Are they even running on the same machine?

The thing that makes a trace coherent, is the TraceId that is associated with each span. So, at the very minimum, you have to have a way to make sure that the TraceId is accessible when you are creating each span.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jstaffans
Comment options

@jkwatson
Comment options

@jstaffans
Comment options

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