Version 1.10

Accessing traces in Cloud Trace

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 Cloud Console.

Accessing traces

To view traces for a Service during a specific time span, follow these steps:

  1. Go to the Anthos Service Mesh page in the Google Cloud Console.

    Go to the Anthos Service Mesh page

  2. Under Services, select the name of the Service you want to inspect.

  3. Go to the Metrics page.

  4. Specify a time span from the Time Span dropdown menu or set a custom span with the timeline.

  5. 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 istio.canonical_service, istio.namespace, and istio.mesh_id, respectively.

What's next