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

Prometheus Monitoring Overview

Prometheus monitoring fully interconnects with the open-source Prometheus ecosystem. It monitors various components, and provides multiple out-of-the-box dashboards and fully hosted Prometheus services.

Prometheus is an open-source monitoring and alarm system. It features multi-dimensional data models, flexible PromQL statement query, and visualized data display. For more information, see official Prometheus documents.

Prometheus Instance

Prometheus instances are logical units used to manage Prometheus data collection, storage, and analysis. Table 1 lists different types of instances classified based on monitored objects and application scenarios.

Table 1 Prometheus instance description

Prometheus Instance Type

Monitored Object

Monitoring Capability

Application Scenario

Default Prometheus instance

  • Metrics reported using the API for adding monitoring data
  • Cloud service metrics reported by APIs such as IoT Device Access (IoTDA), ModelArts, Intelligent EdgeFabric (IEF), and Cloud Container Instance (CCI) APIs
  • Metrics reported using ICAgents

Monitors the metrics reported to AOM using APIs or ICAgents.

Common Prometheus instance. It is applicable to both the scenario where self-built Prometheus remote storage (remote write) is used and the scenario where container, cloud service, or host metrics are connected.

Prometheus instance for CCE

CCE

  • Provides native container service integration and container metric monitoring capabilities.
  • By default, the following service discovery capabilities are enabled: Kubernetes SD, ServiceMonitor, and PodMonitor.

Applicable when you need to monitor CCE clusters and applications running on them.

Prometheus instance for ECS

ECS

  • Provides integrated monitoring for ECS applications and components (such as databases and middleware) in a Virtual Private Cloud (VPC) using the UniAgent (Exporter) installed in this VPC.

Applicable when you need to monitor application components running in a VPC (usually an ECS cluster) on the cloud. You can add middleware to monitor through the access center.

Prometheus instance for cloud services

Multiple cloud services

Monitors multiple cloud services.
NOTE:

Only one Prometheus instance for cloud services can be created in an enterprise project.

Applicable when you need to centrally collect, store, and display monitoring data of cloud services.

Common Prometheus instance

Self-built Prometheus

  • Provides remote storage for Prometheus time series databases.
  • Provides a self-developed monitoring dashboard to display data.
    NOTE:

    You maintain Prometheus servers. You need to configure metric management and data collection by yourselves.

Applicable when you have your own Prometheus servers but need to ensure data storage availability and scalability through remote write.

Prometheus instance for multi-account aggregation

CCE, ECS, and other cloud service resources of multiple accounts in the same organization

Aggregates the data of CCE, ECS, and other cloud service resources of multiple accounts in the same organization for monitoring and maintenance.

NOTE:

Metrics connected through this type of Prometheus instance include:

Applicable when you need to centrally monitor the CCE, ECS, and other cloud service resources of multiple accounts in the same organization.