Ensure that tracing is enabled for your AWS Lambda functions in order to gain visibility into the functions execution and performance. With the tracing feature enabled, Amazon activates Lambda support for AWS X-Ray, a service that collects data about requests that your functions perform, that provides tools you can use to view, filter and gain insights into the collected data to identify issues and opportunities for optimization.
This rule can help you with the following compliance standards:
This rule can help you work with the AWS Well-Architected Framework
This rule resolution is part of the Cloud Conformity Security & Compliance tool for AWS
AWS X-Ray can provide tracing and monitoring capabilities for your Lambda functions. With tracing mode enabled, you can save time and effort debugging and operating your functions as the X-Ray service support allows you to rapidly diagnose errors, identify bottlenecks, slowdowns and timeouts by breaking down the latency for your Lambda functions.
To determine if tracing is enabled for your AWS Lambda functions, perform the following:
To enable active tracing for your Amazon Lambda functions and make use of AWS X-Ray integration, perform the following actions: