Posted On: May 16, 2017
AWS X-Ray’s integration with AWS Lambda is now generally available for all customers. You can 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.
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 or visit our blog.