All Products
Search
Document Center

CloudMonitor:Export monitoring data to a self-managed Prometheus instance

Last Updated:Aug 19, 2024

Some customers have complete enterprise IT management systems in their data centers and expect to export data from the cloud to data centers in real time for centralized monitoring. To meet such requirements, CloudMonitor provides a real-time monitoring data exporter. The exporter can run in your data centers to obtain monitoring data from CloudMonitor in real time based on configurations and continuously write the data to self-managed Prometheus instances.

Benefits

  • The exporter can be used to export monitoring data in streaming mode based on the real-time data export feature of Hybrid Cloud Monitoring in a fast and real-time manner. This prevents data loss and imposes no limits on the number of API calls and network bandwidth.

  • The exporter is deployed locally and requires simple operations.

  • Monitoring data can be exported from various dimensions. The information such as the instance IP address, instance name, region, resource group, and tag is automatically added. This way, data can be analyzed by using PromQL from multiple dimensions.

Precautions

Important

The real-time monitoring data exporter is deployed and runs in your data centers. CloudMonitor cannot ensure the stability of the exporter. Manual O&M is required. If an exception occurs on the exporter, you can provide suggestions to CloudMonitor. CloudMonitor shall not be liable for any accidental loss caused.

Background information

You are not charged for activating Hybrid Cloud Monitoring. You are charged based on the actual resource usage. For information about the billing of the cloud monitoring exporter feature, see Billing of the cloud monitoring exporter feature.

Prerequisites

  • Hybrid Cloud Monitoring is activated. For more information, see Activate Hybrid Cloud Monitoring.

  • The self-managed Prometheus instance is connected to CloudMonitor.

    Note

    You can use the Internet or a virtual private cloud (VPC). You can also specify a proxy.

Procedure

  1. Download, install, and configure Prometheus.

    For more information, see Prometheus.

    Note

    For more information about Prometheus, see Overview.

  2. Download the real-time monitoring data exporter.

    Note

    CloudMonitor updates the exporter regularly. If you require new features, download and reconfigure the exporter of the new version.

  3. Configure the exporter.

    Decompress the installation package to obtain the following files: configs, exporter_local, and ReadMe.pdf. For more information about how to configure the real-time monitoring data exporter, see "Description of each item in the configuration file" in the ReadMe.pdf file.