This topic describes the monitoring and alerting features of the original API Gateway and how to configure an alert for an outbound connection pool. This helps you manage and optimize API services in a more efficient manner to ensure system operation efficiency and stability.
View monitoring data
You can view API Gateway monitoring data by region, API group, and API. Specifically:
Region monitoring
Instance monitoring (dedicated instances only)
API group monitoring
API monitoring
For more information, see View monitoring data.
Configure alerting for APIs
You can use CloudMonitor to configure alerting for APIs that are published in API Gateway. This way, you can track the running status of APIs at all times to ensure the stability of the APIs. For more information, see Configure alerting for APIs.
Configure an alert rule for an outbound connection pool
Simple Log Service allows you to specify a check frequency and trigger conditions to configure an alert rule, and triggers alerts when the conditions are met.
If a connection pool is fully occupied, API Gateway returns the Backend service connect failed 'Connection lease request time out' error to the client for excess requests. This error is recorded by the errorMessage field in logs. You can use this error message to configure an alert rule. For more information, see Configure an alert rule in Simple Log Service. For more information, see Configure an alert rule for an outbound connection pool.