Enable tracing for an AI Gateway

更新时间:
复制 MD 格式

AI Gateway integrates with Alibaba Cloud Tracing Analysis and SkyWalking to help you identify performance bottlenecks and improve diagnostics for your microservices. You can enable tracing to gain end-to-end observability across your gateway.

Prerequisites

Enable tracing

Note

Tracing in AI Gateway is free, but Alibaba Cloud Tracing Analysis is a paid service based on usage. For more information, see Alibaba Cloud Tracing Analysis Pricing.

  1. Log on to the AI Gateway console.

  2. In the navigation pane on the left, choose Instance. In the top menu bar, select a region.

  3. On the Instance page, click the target instance ID.

  4. AI Gateway provides two ways to enable tracing:

    Via Tracing
    1. In the left-side navigation pane, choose Observation and Analysis > Tracing.

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

    Via Parameters
    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, turn on the Tracing Analysis Status switch, select a Tracing Analysis Protocol and a Sampling Rate, and then click OK.

      After enabling tracing, go to Observation and Analysis > Tracing to view the instance's trace data.