Managed Service for Prometheus supports Hybrid Cloud Monitoring integrations and self-monitoring integrations. You can use Managed Service for Prometheus to monitor the data of integrated cloud services, including metrics, dashboards, and alerts. This topic describes how to integrate cloud services, including the cloud services monitored in Hybrid Cloud Monitoring into Managed Service for Prometheus.
Prerequisites
A Prometheus instance for cloud services is created. For more information, see Create a Prometheus instance to monitor Alibaba Cloud services.
Go to the Integration Center page
- Log on to the ARMS console.
- In the left-side navigation pane, choose .
In the instance list, click the Prometheus instance for cloud services. You are redirected to the Integration Center page.
Supported integration types
You can use Managed Service for Prometheus to create two types of integrations: Hybrid Cloud Monitoring integration and self-monitoring integration.
Integration type | Description | Metric fee | Data storage fee |
Hybrid Cloud Monitoring integration | Managed Service for Prometheus obtains the monitoring metrics of cloud services by using CloudMonitor API. You can integrate cloud services based on your business requirements. | Traffic fees for reporting metrics are included into the bills of CloudMonitor. Managed Service for Prometheus charges you fees based on the number of data samples reported for custom metrics. For more information, see Billing overview. | Managed Service for Prometheus stores data samples reported for metrics free of charge. |
Self-monitoring integration (free of charge) | By default, Alibaba Cloud services are integrated. The monitoring data of Alibaba Cloud services is written to a Prometheus instance. | Managed Service for Prometheus charges you fees based on the number of data samples reported for custom metrics. For more information, see Billing overview. | Managed Service for Prometheus stores data samples reported for metrics free of charge. |
The integrated cloud services are displayed in the Integrated section of the Integration Center page. The cloud services that are not integrated are displayed in the Not Integrated section.
Integration status | Method for viewing monitoring data |
Integrated | In the Integrated section, click a cloud service. In the panel that appears, you can view the monitoring data of the cloud service, including metrics, dashboards, and alerts. |
Not integrated | In the Not Integrated section, click a cloud service. In the panel that appears, you can preview the monitoring data of the cloud service, including metrics, dashboards, and alerts. |
Hybrid Cloud Monitoring integration
Cloud services that can be integrated
AnalyticDB
Application Load Balancer (ALB)
API Gateway
Cloud Connector
Alibaba Cloud CDN
Cloud Enterprise Network (CEN)
Dynamic Route for CDN (DCDN)
Distributed Relational Database Service (DRDS)
Data Transmission Service (DTS)
Elastic Compute Service (ECS)
Elastic IP Address (EIP)
E-MapReduce (EMR)
Elasticsearch
Hologres
Logstash
NAT Gateway
Object Storage Service (OSS)
PolarDB
ApsaraDB RDS for PostgreSQL
ApsaraDB RDS for MySQL
ApsaraDB for Redis
Server Load Balancer (SLB)
Log Service
ApsaraDB RDS for SQL Server
Web Application Firewall (WAF)
Create Hybrid Cloud Monitoring integrations
On the Integration Center page, select the cloud services that you want to integrate in the Not Integrated section, and then click OK.
You can integrate one or more cloud services at a time.
Method for viewing monitoring data
In the Integrated section, click a cloud service. In the panel that appears, you can view the metrics, dashboards, and alerts of the integrated cloud service.
Metrics tab
On the Metrics tab, you can view the monitoring metrics of the integrated cloud service.
Parameter
Description
Metrics
The name of the metric.
Type
The type of the cloud service monitored by Hybrid Cloud Monitoring.
Description
The description of the metric.
Proportion
The percentage of the data samples on the metric in the total number of data samples.
Metrics in Last 10 Minutes
The number of data samples that are stored in the last 10 minutes.
Dashboards tab
On the Dashboards tab, you can view the preset dashboard of the cloud service monitored by Hybrid Cloud Monitoring. Click a dashboard name to go to the Grafana console to view the details of the dashboard.
Alerts tab
On the Alerts tab, you can create Prometheus alert rules and view the alert information. For more information about how to create an alert rule, see Create an alert rule for a Prometheus instance.
Uninstall a Hybrid Cloud Monitoring integration
On the Integration Center page, find the integration that you want to uninstall and click Uninstall in the Integrated section. In the message that appears, click OK.
Self-monitoring integration
Cloud services that can be integrated
ApsaraDB for ClickHouse
Managed Service for Grafana
ApsaraMQ for Kafka
ApsaraMQ for RocketMQ
ApsaraMQ for RabbitMQ
Lindorm
ApsaraDB for MongoDB
Enterprise Distributed Application Service (EDAS)
Application High Availability Service (AHAS)
Performance Testing (PTS)
Cloud-native gateways of Microservices Engine (MSE)
MSE
Serverless App Engine (SAE)
ApsaraDB for Redis
Create self-monitoring integrations
On the Integration Center page, select the cloud services that you want to integrate in the Not Integrated section, and then click OK.
You can integrate one or more cloud services at a time.
Method for viewing monitoring data
In the Integrated section, click a cloud service. In the panel that appears, you can view the metrics, dashboards, and alerts of the integrated cloud service.
Metrics tab
On the Metrics tab, you can view the monitoring metrics of the integrated cloud service.
Parameter
Description
Metrics
The name of the metric.
Type
The type of the cloud service.
Description
The description of the metric.
Proportion
The percentage of the data samples on the metric in the total number of data samples.
Metrics in Last 10 Minutes
The percentage of the data samples on the metric in the total number of data samples.
Dashboards tab
On the Dashboards tab, you can view the preset dashboards of the integrated cloud service.
Alerts tab
On the Alerts tab, you can create Prometheus alert rules and view the alert information. For more information about how to create an alert rule, see Create an alert rule for a Prometheus instance.
Uninstall a self-monitoring integration
On the Integration Center page, find the integration that you want to uninstall and click Uninstall in the Integrated section. In the message that appears, click OK.