API Gateway stage REST API should have AWS X-Ray tracing enabled

Description

This check verifies if active tracing is enabled for AWS X-Ray on your Amazon API Gateway REST API stages. Active tracing allows for quicker identification of performance issues in your infrastructure, which could potentially impact API availability. It also provides real-time metrics on user requests flowing through your API Gateway operations and connected services.

Remediation

For detailed instructions on how to enable X-Ray active tracing for API Gateway REST API operations, see Amazon API Gateway active tracing support for AWS X-Ray in the AWS X-Ray Developer Guide.