Amazon API Gateway developers can use AWS X-Ray, AWS CloudTrail, and Amazon CloudWatch to track, record, and monitor API execution and management operations.
- AWS X-Ray is an AWS service that allows you to use Amazon API Gateway API Come to tracking latency issues. X-Ray collects metadata from the API Gateway service and all downstream services that make up your API. X-Ray uses this metadata to generate detailed service graphs that illustrate spikes in latency and other issues that affect the performance of your API.
- Amazon CloudWatch Log API execution Operation, this is the call made by the client or client application to the API Gateway
execute-api
component. CloudWatch metrics include statistics about caching, latency, and detection errors. You can use the API control panel in the API Gateway console or the CloudWatch console to check CloudWatch logs to troubleshoot API implementation or execution issues. - AWS CloudTrail Log API Gateway API management operation, this is the REST API call made by the API developer or owner to the API Gateway
apigateway
component. You can use CloudTrail logs to troubleshoot API creation, deployment, and updates. You can also use Amazon CloudWatch to monitor CloudTrail logs.
- Use AWS X-Ray to track API Gateway API execution
- Use AWS CloudTrail to record the execution of Amazon API Gateway API
- Use Amazon CloudWatch to monitor API execution