Replies: 1 comment 1 reply
-
I think in this case, you'll need to mimic what the standard propagators do. That is, create a SpanContext from the traceid/spanid and put it into a Context. Take a look at the propagators from how this works. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a web application that responds to a request by starting up a background process. The background process has logs of it's own that are also sent to the same log sink.
I want to export traces and logs from the background process to my collector, meaning i want the traces to have the same trace id as my web application.
How can i start a span in my background process and then set the trace id to the incoming trace id from the web application. Assume that the trace id and span id will be passed to the background process as strings
Beta Was this translation helpful? Give feedback.
All reactions