Skip to content
Advertisement

How to use AWS Xray to connect traces across multiple lambda and SQS

We are attempting to use AWS Xray to trace an event through multiple services. We have enabled Xray within lambda via the checkbox and added the python (v2) SDK. This is giving us good information for each lambda, but they are not connected. Here is our model:

  1. event hits SNS
  2. Lambda is triggered for preprocessing writes to SQS
  3. event in SQS
  4. Another Lambda picks up event and processes, writes to another SNS

We can see the python libraries which python is calling by doing the patch_all().

I was hoping to see connectivity end-to-end but I don’t know how to associate these components. Right now we see the Lambdas as independent pieces and nothing for SQS.

Advertisement

Answer

Currently X-Ray does not support above use-case and actively working on this. Currently we cannot share ETA on when this will be available.

For more details please see https://forums.aws.amazon.com/thread.jspa?messageID=873142&#873142

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement