I am trying to x-ray trace a process through a multitude of services.
I have a lambda that is already traced by x-ray, that submits to kinesis, and eventually is processed by a Scala ECS consumer. How do I link the lambda to the consumer?
Is this handled automagically, or do I need to grab and insert the x-amzn-trace-id value?
Thanks
Yes, the idea is right.
One possible technical trouble is, if consumer processes a batch of trace contexts in one operation, you might not be able to set parent for consumer segment because a segment can only have one parent. X-Ray needs to support links
feature to support this fan-in scenario.