Updated on 2024-06-28 GMT+08:00

Functions

Prometheus monitoring supports monitoring data collection, storage, computing, display, and alarm reporting. It monitors metrics of containers, cloud services, middleware, databases, applications, and services. This section describes the important functions of Prometheus monitoring.

Table 1 Monitored object access

Function

Description

Creating Prometheus Instances

Multiple types of Prometheus instances are supported. You can create Prometheus instances as required.

Connecting a CCE Cluster

An entry of Prometheus instances. It centrally displays associated data and high-frequency operations of container services, custom service discovery, and component monitoring.

Only Prometheus instances for CCE support this function.

Table 2 Monitoring metric collection

Function

Description

Configuring Metric Management for CCE Clusters

By adding ServiceMonitor or PodMonitor, you can configure Prometheus collection rules to monitor the services deployed in CCE clusters.

Only Prometheus instances for CCE support this function.

Configuring Metrics

You can check, add, and discard metrics.

Only the default Prometheus instance, Prometheus instances for CCE, and Prometheus instances for cloud services support this function.

Table 3 Data processing

Function

Description

Obtaining the Service Address of a Prometheus Instance

With the remote read and write addresses, you can store the monitoring data of self-built Prometheus to AOM Prometheus instances for remote storage.

Configuring a Recording Rule

By setting recording rules, you can move the computing process to the write end, reducing resource usage on the query end. Especially in large-scale clusters and complex service scenarios, recording rules can reduce PromQL complexity, thereby improving the query performance and preventing slow user configuration and queries.

Only Prometheus instances for CCE support this function.