AWS X-Ray is a method of collecting data about the work going on within a distributed application to identify performance issues and execution errors.

When execution errors happen in obscure cases, X-Ray can help identify those cases by providing a consolidated trace of each execution. This is invaluable in a distributed, event-driven or serverless application.

AWS X-Ray integrates with

  • Amazon Elastic Compute Cloud (Amazon EC2);
  • Amazon Elastic Container Service (Amazon ECS);
  • Elastic Load Balancing;
  • Amazon API Gateway;
  • AWS Lambda; and,
  • AWS Elastic Beanstalk.

Additionally, the AWS X-Ray SDK can capture metadata and requests to

  • MySQL and PostgreSQL databases (self-hosted, Amazon RDS, Amazon Aurora);
  • Amazon DynamoDB;
  • Amazon Simple Queue Service; and,
  • Amazon Simple Notification Service.

The SDK is available for Java, Go, Node.js, Python, Ruby, and .NET languages.

#debugging #serverless #aws-lambda #aws

Debugging AWS Lambda Functions with AWS X-Ray
1.15 GEEK