I am building a system that goes something like:
/-> Stream to Lambda -> DynamoDB
API Gateway -> AWS Lambda -> DynamoDB
\-> Stream to Lambda -> DynamoDB
So an API Gateway call triggers a lambda which saves to DynamoDB. Other lambdas are triggered by that DynamoDB save which do some computation and save new data to dynamodb
I've added AWS X-Ray tracing but AWS X-Ray shows this as three different trees:
- API Gateway to Dynamo
- 'Clients' -> Lamdba -> DynamoDB
- 'Clients' -> Lamdba -> DynamoDB
In the image the bottom trace is triggered by API Gateway but the first two are triggered by DynamoDB and then write back to it
If I pass the trace ID manually through DynamoDB to the downstream lambdas is there a way I can tell x-ray that the downstream lambdas are flowing from DynamoDB?
