Agent API observability

更新时间:
复制 MD 格式

Monitor, record, and analyze Agent API requests and responses through the AI Gateway statistics module.

Procedure

  1. In the AI Gateway console, go to the instance page. From the top menu bar, select the region of your target instance.

  2. On the Instance page, click the target gateway instance ID.

  3. In the left-side navigation pane, click Agent API, then click the target API Name.

  4. Click the Statistics tab to view the apig-agent-api-dashboard. Key metrics:

    Note

    If 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.