Posted On: Apr 19, 2017

You can now use AWS X-Ray to trace requests made to your serverless applications built using AWS Lambda. This enables you to gain insights into the performance of serverless applications, allowing you to pinpoint the root cause of issues so that you can address them. This feature is available now in Preview.

Previously, you had to rely on custom logging and analysis to diagnose issues within your Lambda functions. Now, you can use AWS X-Ray to see metrics for Lambda service overhead, function initialization time, and function execution time. In addition, you can use the X-Ray SDKs to create your own trace segments, annotate your traces, and view trace segments for downstream calls made from your Lambda functions. Currently, you can use the X-Ray SDKs for Node.js and Java with Lambda. X-Ray support for Lambda is available in all regions where both X-Ray and Lambda are available.

AWS X-Ray helps developers analyze and debug production, distributed applications, such as those built using a microservices architecture. With X-Ray, you can understand how your application and its underlying services are performing to identify and troubleshoot the root cause of performance issues and errors.

To learn more about troubleshooting serverless application performance with AWS X-Ray, visit our documentation.