Updated on 2025-04-21 GMT+08:00

Monitoring

CCE Autopilot monitors applications and resources and collects metrics and events to analyze application health. The Monitoring tab allows you to modify parameters for better O&M.

You will need to enable Monitoring Center by referring to Enabling Cluster Monitoring.

Monitoring Configuration

Collection Configuration

Default Collection Period: specifies the metric collection period of the Cloud Native Cluster Monitoring add-on. The default value is 15 seconds.

Interconnection with AOM

AOM uses Prometheus for container monitoring. To enable monitoring, you need to select an AOM instance first. After you select the option for reporting the monitoring data to AOM, metrics will be reported to the AOM instance you select. Basic container metrics are free, and other metrics are billed on a pay-per-use basis. For details about free metrics, see Basic Container Metrics.

Log Configuration

Collection Configuration

CCE Autopilot cluster logs, including container logs and Kubernetes events, are collected. You can quickly query and analyze the collected logs.

A default log group named k8s-logs-{Cluster ID} will be created for CCE Autopilot cluster logs reported to LTS, and you will be billed for log storage on LTS. For details about LTS pricing, see Price Calculator.

Table 1 Cluster logs and events

Item

Log Type

LTS Log Group Name

Status

Reference

Container logs

Container standard output

stdout-{clusterId}

To enable log collection, you need to install the Cloud Native Log Collection add-on by referring to Cloud Native Log Collection.

Collecting Logs

Kubernetes events

Kubernetes events

event-{clusterId}

To enable event collection, you need to install the Cloud Native Log Collection add-on by referring to Cloud Native Log Collection.

Collecting Kubernetes Events

Kubernetes Events Reported to AOM

Once the Cluster Native Logging add-on (Cloud Native Log Collection) is installed in a cluster, Kubernetes events are reported to LTS by default, while this feature can be used to report Kubernetes events to AOM.

  • Abnormal events: This option is enabled by default. All abnormal events are reported to AOM. You can configure a blocklist to add events that do not need to be reported to the blocklist. You can query event names in CCE Autopilot Cluster Events.
  • Normal events: If this option is enabled, normal events will be reported to AOM. CCE Autopilot is pre-configured to report some normal events. If you need custom events reporting, configure a trustlist and add the events that need to be reported to the trustlist. You can query event names in CCE Autopilot Cluster Events.