Skip to content

Cross-process tracing #1967

Answered by davidbarsky
main-- asked this question in Q&A
Mar 4, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I'm wondering if it's possible to sort of "continue" a trace from within another process. So if I have a client that begins a trace and then this client makes a call to a sever, both can report their tracing data (through opentelemetry in my case) and I end up with a trace that includes both the server-side and the client-side action.

Sorry for the delay in responding. This is possible, yes.

I tried sending the Span's Id and specifying it as the parent span on the other side, but tracing-subscriber's Registry clearly doesn't like that:

Span IDs are opaque identifiers that can only be used in a single process—the Registry's documentation calls this out, but perhaps this should be in a …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@main--
Comment options

Answer selected by main--
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