All Products
Search
Document Center

API Gateway:Enable gateway tracing

Last Updated:Jun 23, 2026

Cloud-native API Gateway integrates with Managed Service for OpenTelemetry and SkyWalking to help you analyze and diagnose performance bottlenecks in distributed architectures and improve microservices troubleshooting.

Prerequisites

Procedure

Note

Cloud-native API Gateway does not charge for tracing. However, Managed Service for OpenTelemetry incurs charges based on your usage. For pricing details, see Managed Service for OpenTelemetry pricing.

  1. Log on to the API Gateway console.

  2. In the left-side navigation pane, click Cloud-native API Gateway > Instance. In the top navigation bar, select a region.

  3. On the Instance page, click the ID or name of the target instance.

  4. In the left-side navigation pane, click Parameters.

  5. In the Observability Parameters section, click the 1 icon next to Tracing. In the Configure Tracing Analysis panel, configure parameters such as Tracing Analysis Protocol and Sampling Rate, and then click OK.

    Parameter

    Description

    Tracing Analysis Protocol

    The following protocols are supported:

    • OpenTelemetry (W3C) (Recommended)

    • Zipkin (B3)

    • SkyWalking

    Sampling Rate

    The percentage of requests to trace. The default sampling rate is 100%, which means all requests are traced. You can lower this rate based on your business requirements.

    After you enable tracing, you can view the trace data for your gateway instance by choosing Observation and Analysis > Tracing in the left-side navigation pane.