View Service Topology of a Cluster
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
-
Log in to the KubeSphere web console with a user who has the platform-admin role.
-
In the upper right corner of the page, click the
icon and select WizTelemetry Observability Platform.
-
Click Tracing > Service Topology in the left navigation pane.
-
In the drop-down list at the top of the page, select a cluster to view the service topology of a specific cluster.
-
Click
in the upper right corner to refresh the page information.
-
Click
in the upper right corner to set the time range for the data. The default is Last 5 hours.
-
-
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
to understand the invocation direction.
-
Click a topology connection line or the
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
to view the topology diagram in the default view. In the default view, you can freely drag the topology nodes.
-
Click
to view the topology diagram in the arranged view. Topology nodes will be arranged in a certain direction for easier viewing.
-
Click
/
to zoom in or zoom out the topology diagram.
-
Click
to view the topology diagram in full screen.
-