All Products
Search
Document Center

API Gateway:Enable tracing analysis for a gateway

Last Updated:Jul 02, 2025

AI Gateway integrates with Alibaba Cloud Tracing Analysis service and Skywalking service to help you locate performance bottlenecks and improve microservice development diagnostic efficiency. This topic describes how to enable tracing analysis to achieve observability.

Prerequisites

Enable tracing analysis

Note

AI Gateway does not charge for tracing analysis. However, if you use the Tracing Analysis service, the Tracing Analysis product will charge based on your usage. For pricing details, see the Tracing Analysis pricing.

  1. Log on to the AI Gateway console.

  2. In the navigation pane on the left, click AI Gateway > Instance. In the navigation bar at the top, select a region.

  3. On the Instance page, click the ID of the gateway instance you want to manage.

  4. AI Gateway provides two methods to enable tracing analysis.

    Method 1: Through tracing analysis
    1. In the left-side navigation pane, click Observation and Analysis > Tracing.

    2. Click Activate Tracing Analysis. In the Configure Tracing Analysis dialog box, enable Tracing Analysis Status, select Tracing Analysis Protocol and Sampling Rate, and then click OK.

    Method 2: Through parameter configuration
    1. In the left-side navigation pane, click Parameters.

    2. In the Observability Parameters section, click the 1 icon next to Tracing. In the Configure Tracing Analysis dialog box, enable Tracing Analysis Status, select Tracing Analysis Protocol and Sampling Rate, and click OK.

      After enabling tracing analysis, you can view the gateway tracing data in Observation and Analysis > Tracing.