

# Monitor WebSocket APIs in API Gateway
<a name="websocket-api-monitor"></a>

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

**Topics**
+ [Monitor WebSocket API execution with CloudWatch metrics](apigateway-websocket-api-logging.md)
+ [Configure logging for WebSocket APIs in API Gateway](websocket-api-logging.md)