Hi,
I would like to know more about how the current execution segment in the agent code keeps tracks of current transaction and span and correctly assign spans to its parent transaction even if transaction and spans can start and end at different threads and there can be multiple transactions active at a given time.
How does the mapping happen between spans and transactions happen even when the thread changes without mix up?
Please guide me in understanding the inner workings of the agent.
Thank you for your time.