How to create multiple spans and identify as 1 trace in jaeger?
Hello all,
I'm trying to implement multiple spans and those spans should be identified as 1 trace in jaeger.
(As shown in this video: https://www.youtube.com/watch?v=0uwy26zPc-o&t=1118s
at 24:12 timing he shows the same concept.)
I'm using java to implement.
Can someone provide some ideas, tips and tricks, which could be a great help.
Thanks in Advance!
Kind Regards,
Aishwarya.
Answers
-
Aishwarya,
The key is to have something tagged in the telemetry that is unique to each event. You can see from the video that Ed has a messaging.solace_user_properties.order_id that he uses to track events.
We are currently working on context propagation for Solace Distributed Tracing for the broker and its APIs which will allow the same trace_id to be passed along with the event. It will make it easier to do this.
Rob Tomkins
1 -
Hi @rtomkins,
Thank you for your reply. Can you please provide me with detailed information about tags (such as: messaging.solace_user_properties.order_id) or any other user properties which can be used to set tags.
And also, can you please update me regarding context propagation for Solace Distributed Tracing.
Thanks in Advance :)
Best Regards,
Aishwarya.
0