Monitoring WebSocket APIs - Amazon API Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Monitoring WebSocket APIs

You can use CloudWatch metrics and CloudWatch Logs to monitor WebSocket APIs. By combining logs and metrics, you can log errors and monitor your API's performance.

Note

API Gateway might not generate logs and metrics in the following cases:

  • 413 Request Entity Too Large errors

  • Excessive 429 Too Many Requests errors

  • 400 series errors from requests sent to a custom domain that has no API mapping

  • 500 series errors caused by internal failures