This section describes how to view the invocation relationships and performance metrics between services within a cluster, helping you understand the system architecture, perform troubleshooting, and optimize performance.

Prerequisites

  • You need to have the platform-admin role in the KubeSphere platform. For more information, refer to Users and Platform Roles.

  • The WizTelemetry Tracing extension needs to be installed and enabled on the KubeSphere platform.

Steps

  1. Log in to the KubeSphere web console with a user who has the platform-admin role.

  2. In the upper right corner of the page, click the grid icon and select WizTelemetry Observability Platform.

  3. Click Tracing > Service Topology in the left navigation pane.

  4. In the drop-down list at the top of the page, select a cluster to view the service topology of a specific cluster.

    • Click refresh in the upper right corner to refresh the page information.

    • Click clock-2 in the upper right corner to set the time range for the data. The default is Last 5 hours.

  5. The Service Topology diagram displays the name of each topology node (i.e., service), the total time the service takes to process requests, and the invocation relationships between services. You can also perform the following operations to obtain more information.

    • Hover over a topology node to view the nodes that invoke or are invoked by this node, and the direction of the invocations.

    • Click a topology node to view its basic information, RPS (Requests Per Second), Error Rate (the proportion of failed requests), and Duration (the total time the service takes to process requests). Click View Traces to further analyze the request traces for this service.

    • Hover over a topology connection line to view the topology nodes at both ends of the line, and use left-right-button to understand the invocation direction.

    • Click a topology connection line or the left-right-button on it to view the start point (client) and end point (server) of the service invocation, their respective total request processing times, and RPS (Requests Per Second). Click View Traces to further analyze the detailed trace information for this invocation relationship.

    • Click topology_1 to view the topology diagram in the default view. In the default view, you can freely drag the topology nodes.

    • Click topology_2 to view the topology diagram in the arranged view. Topology nodes will be arranged in a certain direction for easier viewing.

    • Click zoom_in/zoom_out to zoom in or zoom out the topology diagram.

    • Click maximize to view the topology diagram in full screen.