Cloud-native basic observability provides fully managed, high-performance, and highly stable cluster observability and alerting services. This topic introduces common concepts in basic observability and how to enable the cloud-native basic observability feature.
In VKE clusters, the metric scope for cloud-native basic observability is divided into three tiers: basic, standard, and full metrics. This tiered design helps you make reasonable tradeoffs between observability scope, usage cost, and troubleshooting depth. The scope of the three tiers expands progressively, enabling you to select the observability level genuinely needed at the current stage, based on cluster scale, business complexity, and operational goals. This approach prevents initial over-provisioning or observability insufficiency.
tip
The billing method and cost vary based on the observability metric scope and the VMP workspace's storage duration. For details, see Pay-as-you-go. Cloud-native basic observability is implemented on the VMP service and uses the prometheus-agent add-on as the collector in clusters. The add-on collects and monitors metrics for cluster infrastructure resources, control-plane components, and custom applications. When you install the prometheus-agent in your cluster, the system automatically deploys core add-ons (such as vmagent, vmoperator, kube-state-metrics, and node-exporter) and related custom resources (such as ServiceMonitor and PodMonitor). For details about the add-on, see prometheus-agent. Enable basic observability
Enable for existing clusters
Enable when creating clusters
To enable basic observability in an existing cluster, follow the steps below:
- In the left navigation pane, click Cluster. Click the target cluster name to go to the management page of this cluster.
- In the left navigation pane, click Operation and maintenance configuration. In the Container observability configuration section, click the Configure now link.
- In the pop-up dialog box, select a VMP workspace to be bound to the cluster.
- Install the collector add-on.
- In the left navigation bar, click Addons.
- Click the Monitoring tab. Find the prometheus-agent add-on, hover over the add-on card, and click Deploy. For add-on configuration instructions, see prometheus-agent.
- Enable basic observability.
- In the left navigation pane, click Cloud native observability > Overview to enter the service activation page.
- Click Activate basic observability to enable cloud-native basic observability.
- (Optional) Configure observability enhancement. This option allows you to enable observability for major cluster add-ons (such as core-dns and vpc-cn) with a click. You can also enable observability for individual add-ons as needed. For details, see Basic observability.
- (Optional) Configure network and application observability. This feature monitors the network performance of workloads and the application performance of each interface, and generates a topology without modifying the application. Additionally, it can further trace interface calls with response errors or excessively long response times. For details, see Enabling full-stack observability.
In the Cluster configuration step of cluster creation, go to the Operation and maintenance configuration section, where you select the observability metric type and VMP workspace for the cluster, and set whether to enable observational enhancement. If you complete the settings, the system automatically installs the prometheus-agent add-on during cluster creation. For details, see Creating managed clusters. warning
Modifying the metric scope will change the number of metrics collected in your cluster. Expanding the metric scope will incur additional costs. For details, see Pay-as-you-go billing. - In the left navigation bar of the cluster management page, click Observability settings.
- In the upper-right corner of the configuration page, click Modify the default metric scope.
- In the pop-up window, select the desired metric scope and check the Instant effective for installed add-ons option.
- In the left navigation pane of the cluster management page, click Operation and maintenance configuration.
- In the Container observability configuration section, to the right of the Prometheus workspace field, click
to change the workspace.
- In the pop-up window, select the desired workspace and check the I have been informed and agreed that the Prometheus workspace of the alert rule group will be revised and updated together option.
Viewing observability configuration
After enabling cloud-native basic observability, click cloud-native observability > Overview in the left navigation pane. Then, select the Observability overview tab to view the cluster observability overview.
- Observability settings overview: Displays the VMP workspace bound to the cluster and collector status.
- Basic observability overview: Displays the proportion of add-ons with basic observability enabled in the cluster and the metric tier.
- Full-stack observability overview: Displays the status of the full-stack observability feature. Click Enable to configure the full-stack observability feature. For details, see Enabling full-stack observability.
Viewing cluster overview
After you enable cloud-native basic observability, you can view the cluster monitoring overview, including node status and workload performance overview.
The node section provides node status and resource usage for all nodes in the cluster.
- Node status: Displays cluster node statistics, including the total number of nodes in each of the following states: Ready, Not Ready, Disk pressure, Memory pressure, PID pressure, and Network unavailable.
- Resource usage: Displays the top 5 list of all nodes in the current cluster for metrics such as the CPU utilization, memory utilization, inbound network traffic, outbound network traffic, disk utilization, disk I/O saturation, file descriptor saturation, and inode saturation.
- In the left navigation pane of the cluster management page, select Cloud native observability > Overview. Then, select the Monitoring overview tab.
- In the Node section, view cluster node information.
Application performance overview
The application performance overview provides performance information for all workloads in the cluster, such as the error rates and response time (P90).
- In the left navigation pane of the cluster management page, select Cloud native observability > Overview. Then, select the Monitoring overview tab.
- In the Workload performance overview section, view the workload performance information.