I am building lambdas and using xray to check performance. My lambda will write to other dynamodb tables where trigger another lambda via streaming. The other lambda will carry that event and publish the data in RDS as well as external application.
I'd like to put trace data in this flow to trace the whole process. I know that AWS has build-in support to enable xray in lambda. But it doesn't cover the whole event flow in my application. Is there a way for me to manually set up a trace ID in the event and make xray to use this ID to trace the event flow?
If can I manually push trace to xray, how can I make the dynamodb streaming use the trace id to trigger a lambda?