About AWS X-ray
Things to keep in mind
1. X-ray integrates with many AWS services like DynamoDB, Lambda, API Gateway, etc.
2. You can also instruct your own applications to send data to X-ray
3. applications can be running on EC2, Elastic Beanstalk environments, on-premise systems or ECS
4. For ECS, run the X-ray daemon in it's own Docker image, running alongside your application
5. You can record application specific information in the form of key-value pairs
You need three things
1. X-ray SDK
2. X-ray daemon
3. Instruct the application using the SDK to send data to X-ray