Cloud Trace is a distributed tracing system that collects latency data from the applications and displays it in near real-time. It allows you to follow a sample request through your distributed system, observe the network calls and profile your system end to end.
Note that Cloud Trace is disabled by default. To enable Cloud Trace, redeploy the customer-manged control plane using the YAML file in Enabling optional features.
The Anthos Service Mesh pages provide a link to the traces in the Cloud Trace page in the Google Cloud console.
To view traces for a Service during a specific time span, follow these steps:
Go to the Anthos Service Mesh page in the Google Cloud console.
Under Services, select the name of the Service you want to inspect.
Go to the Metrics page.
Specify a time span from the Time Span dropdown menu or set a custom span with the timeline.
Click View traces.
The traces for a service in Anthos Service Mesh contain following information:
- Request latencies across different services in the mesh.
- HTTP request properties, including ID, URL, size, latency, and protocol.
- Service name, namespace and mesh id as part of the labels