All Products
Search
Document Center

Alibaba Cloud Service Mesh:View application topology with Mesh Topology

Last Updated:Mar 11, 2026

When microservices communicate across a service mesh, identifying unhealthy services, latency bottlenecks, and unexpected traffic patterns requires visibility into every service-to-service connection. Mesh Topology provides a real-time, interactive graph of all service communication in your Service Mesh (ASM) instance -- collected passively from Envoy sidecar proxies, with no code changes or manual instrumentation required.

How it works

ASM collects telemetry data from the sidecar proxies attached to every workload. Mesh Topology aggregates this telemetry into an interactive graph that shows:

  • Service dependencies -- which services call which, and in what direction

  • Traffic health -- success rates and error rates per edge

  • Latency -- request duration between services

  • Traffic volume -- traffic flow on each connection

For more information about the observability features of ASM, see Observability Management.

Prerequisites

Before you begin, make sure that you have:

Enable Mesh Topology

  1. Log on to the ASM console. In the left-side navigation pane, choose Service Mesh > Mesh Management.

  2. On the Mesh Management page, click the name of the ASM instance. In the left-side navigation pane, choose Observability Management Center > Mesh Topology.

  3. In the Enable ASM Mesh Topology section, enable the feature based on your ASM version:

    ASM versionAction
    Earlier than V1.18.2.112Click To enable.
    V1.18.2.112 or laterChoose a deployment mode (see below), then click To enable.

    Deployment modes (V1.18.2.112 or later):

    ModeDescriptionWhen to use
    In-Kubernetes-cluster ModeMesh Topology runs inside the ACK cluster. Enter the HTTP API URL of your Prometheus instance, then click To enable.Single-cluster deployments
    Managed ModeMesh Topology runs as a managed service. Click Managed Mode, then click To enable. Configure the required parameters in the dialog box and click OK.Multi-cluster deployments that need a single topology view

    For a comparison of these two modes, see Enable Mesh Topology in managed mode.

Access the Mesh Topology console

  1. In the ASM console, navigate to Service Mesh > Mesh Management and click the name of your ASM instance.

  2. In the left-side navigation pane, choose Observability Management Center > Mesh Topology.

  3. In the Access section, create a Classic Load Balancer (CLB) instance to expose the Mesh Topology UI:

    ASM versionAction
    Earlier than V1.17.2.19Turn on Automatically Create an Internet-facing CLB Instance to Access ASM Mesh Topology and click OK.
    V1.17.2.19 or laterTurn on Create a CLB Instance to Access ASM Mesh Topology, configure the parameters in the dialog box, and click OK.
  4. Wait for the ASM instance to finish updating:

    1. In the left-side navigation pane, choose ASM Instance > Base Information.

    2. In the Basic Information section, check the Status field. Updating means the instance is still being updated. Proceed when the status changes to Running.

  5. Return to Observability Management Center > Mesh Topology and click Copy token and open in new window.

  6. On the Mesh Topology login page, paste the token and click Login.

View the application topology

Generate traffic

In your browser, access the Bookinfo application:

http://<ingress-gateway-ip>/productpage

Replace <ingress-gateway-ip> with the IP address of your ingress gateway. To find this address, see "Step 3: Query the gateway address" in Use Knative on ASM to deploy a serverless application.

Refresh the page a few times to generate traffic that Mesh Topology can visualize.

Choose a graph type

In the Mesh Topology console, select default from the Namespace drop-down list. Then select a graph type from the Versioned App graph drop-down list:

Graph typeWhat it shows
Workload graphCall relationships between workloads and traffic flows
App graphCall relationships between applications and traffic flows
Versioned App graphCall relationships between application versions and traffic flows
Service graphCall relationships between services and traffic flows
Service topology

Inspect a workload

Click a node in the topology graph -- for example, reviews-v2 -- to open the side panel. The panel displays:

  • Running status of the workload

  • Inbound traffic -- details for incoming requests

  • Outbound traffic -- details for outgoing requests

Workload details

What's next