Example showing how to pass a tracing header between API Gateways with AWS X-Ray SDK instrumentation using Serverless Framework and Node.js
- Node.js v10.x or greater
- AWS CLI Profile
Begin by deploying the infrastructure by running the deploy script.
./deploy.sh
After it has finished deploying, send traffic to the endpoint on service A displayed in your terminal to begin generating traces.
Then open the traces tab for X-Ray in the AWS Console.
Run the cleanup script when you are finished to remove all created resources.
./cleanup.sh
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.