Cloud-native API Gateway lets you view gateway monitoring data, including business monitoring and resource monitoring.
Prerequisites
View gateway monitoring analysis
Log on to the API Gateway console.
In the left-side navigation pane, click . In the top navigation bar, select a region.
On the Instances page, click the name of the target gateway instance.
In the navigation pane on the left, choose .
On the Business Monitoring page, you can view the following information:
Global Dashboard: PV, UV, Gateway Inbound Traffic, Gateway Outbound Traffic, Method Distribution, Gateway Status Code Distribution, Backend Service Status Code Distribution, QPS, Request Success Rate, Request RT (ms), and Request Distribution.
Grayscale Comparison Dashboard: During a canary release, you can compare an online service with a grayscale service. This dashboard displays a comparison of their QPS, request success rate, request RT (ms), and request distribution.
NoteBy default, data from the last hour is displayed. You can set a time range in the upper-left corner to filter the data.
You can enable Auto-refresh in the upper-right corner of the page to automatically refresh the monitoring data.
Cloud-native API Gateway uses Simple Log Service for business monitoring. Enabling gateway log delivery may incur fees. For more information about Simple Log Service billing, see Billing overview.
View gateway resource monitoring
Log on to the API Gateway console.
In the left-side navigation pane, click . In the top navigation bar, select a region.
On the Instances page, click the name of the target gateway instance.
In the navigation pane on the left, choose .
On the Resource Monitoring page, you can view Gateway CPU Usage (%), Memory Payload (B), Gateway Memory Usage (%), Network Inbound I/O Payload (B/s), Network Outbound I/O Payload (B/s), Disk Read Payload (B/s), and Disk Write Payload (B/s).
NoteBy default, data from the last hour is displayed. You can set a time range in the upper-left corner to filter the data.
You can enable Auto-refresh in the upper-right corner of the page to automatically refresh the monitoring data.
The Business Monitoring dashboard is provided free of charge. To use an enterprise dashboard or export monitoring data, you must activate Hybrid Cloud Monitoring. Hybrid Cloud Monitoring is billed based on your usage. For more information about the billing methods for Cloud Monitor, see Billing overview.
(Optional) To configure alerting, you can click the
icon in the upper-right corner of the dashboard, or choose in the navigation pane on the left of the Cloud-native API Gateway console. For more information, see Create an alert rule.