I can't seem to get Distributed Tracing to work. Im starting to wonder if I don't understand Distributed Tracing correctly.
In my frontend I am creating a Transaction and a few spans to cover some JS functions. One of the JS functions makes a request to a backend Python service. I am sending the traceID from the Transaction created in the frontend as part of the request. The Python service is calling begin_transaction and setting trace_parent to be the traceID passed in. Backend code calls a couple methods with spans, finally ending its transaction with a response back to the frontend. The frontend then ends its transaction.
Client Transaction AAA (traceId of XXX) -> Span BBB -> Ajax (traceId of XXX) -> Python begin_transaction CCC (using traceId of XXX) -> Python Span DDD -> End Span DDD -> End Transaction CCC -> End Span BBB -> End Transaction AAA
Hopefully that makes sense, but that is a rough chain of the calls being done and what I would expect from a distributed trace in Kibana.
Am I doing something wrong? Is there a good tutorial some has I should check out?
Thanks for the help!
I should mention I see each of these individual transactions and spans in Kibana... I just don't see a single distributed trace.