Skip to content

Support for traces across instances #855

Answered by ahayworth
c23omega asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @c23omega - you have the right idea; in order to connect spans from disparate systems you need to propagate a custom trace ID. Luckily, this should be almost - if not completely - free!

I would start by looking at the OpenTelemetry overview document. That page introduces a lot of terminology that's useful when working with the opentelemetry-ruby library. The parts that talk about your question are "Context propagation" - that's the mechanism that carries the trace ID between services on different systems. As long as context is injected into outbound requests and extracted from incoming requests, then spans from different systems should be assembled by your tracing vendor / system autom…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@c23omega
Comment options

@ahayworth
Comment options

@c23omega
Comment options

@ahayworth
Comment options

Answer selected by c23omega
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
Converted from issue

This discussion was converted from issue #853 on July 01, 2021 17:52.