Microservices Engine (MSE) cloud-native gateways integrate with Alibaba Cloud Managed Service for OpenTelemetry and SkyWalking. This helps you analyze and diagnose performance bottlenecks in the distributed application architecture and improves the efficiency in developing and diagnosing microservice applications. MSE does not generate tracing analysis costs. However, if you use Managed Service for OpenTelemetry, fees are incurred for Managed Service for OpenTelemetry based on the amounts of resources that you used. This topic describes how to enable tracing analysis for a cloud-native gateway to implement the observability of the gateway.
Prerequisites
A cloud-native gateway is created. For more information, see Create a cloud-native gateway.
Alibaba Cloud Managed Service for OpenTelemetry is activated. If you do not activate Alibaba Cloud Managed Service for OpenTelemetry, log on to the Managed Service for OpenTelemetry console by using your Alibaba Cloud account and activate the service.
Enable tracing analysis
Log on to the MSE console, and select a region in the top navigation bar.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the name of the gateway.
In the left-side navigation pane, click Parameter Settings.
In the Observability Parameters section, click the icon on the right of Tracing Analysis. In the Configure Tracing Analysis dialog box, turn on Tracing Analysis Status, select a Tracing Analysis Protocol, specify the Sample Rate, and then click OK.