When requests pass through a cloud-native gateway to backend services, failures and latency issues can be difficult to isolate without visibility into the full request path. Microservices Engine (MSE) cloud-native gateways integrate with Managed Service for OpenTelemetry and SkyWalking for distributed tracing, so you can visualize request flows, pinpoint latency bottlenecks, and diagnose errors across your microservice architecture.
MSE does not charge for tracing analysis. If you use Managed Service for OpenTelemetry as the tracing backend, standard Managed Service for OpenTelemetry billing applies based on resource usage.
Prerequisites
Before you begin, make sure that you have:
A cloud-native gateway. For more information, see Create a cloud-native gateway
Alibaba Cloud Managed Service for OpenTelemetry activated. To activate the service, log on to the Managed Service for OpenTelemetry console and follow the prompts
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 ID of the gateway.
In the left-side navigation pane, click Parameter Settings.
In the Observability Parameters section, click the
icon next to Tracing Analysis.In the Configure Tracing Analysis dialog box, configure the following settings:
Turn on Tracing Analysis Status.
Select a Tracing Analysis Protocol.
Specify the Sample Rate. A higher rate captures more detail but increases the volume of trace data sent to the backend.
Click OK.
