Monitor, record, and analyze Agent API requests and responses through the AI Gateway statistics module.
Procedure
-
In the AI Gateway console, go to the instance page. From the top menu bar, select the region of your target instance.
-
On the Instance page, click the target gateway instance ID.
-
In the left-side navigation pane, click Agent API, then click the target API Name.
-
Click the Statistics tab to view the
apig-agent-api-dashboard. Key metrics:NoteIf log delivery is not enabled, click Enable Log Shipping and select a Log Service (SLS) project. SLS collects, analyzes, and visualizes gateway logs.
-
QPS: Agent API requests per second.
-
Request success rate: Percentage of successful Agent API requests.
-
该文章对您有帮助吗?