Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Data Multi-Write

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

This function enables cross-VPC access without exposing server network information. Monitoring data can be reported to self-built Prometheus instances more securely.

Prerequisites

Precautions

  • Only the default or common Prometheus instance, and the Prometheus instances for CCE, cloud services, and ECS support data multi-write.
  • For Prometheus instances for CCE, the metrics processed using recording rules do not support data multi-write.
  • Some default metrics generated by AOM (such as aom_metrics_total, aom_metrics_total_per_hour, ALERTS, and ALERTS_FOR_STATE) do not support data multi-write.
  • When the metrics of the default Prometheus instance are dumped using the data multi-write function, the names of some dumped metrics may be inconsistent with those displayed on the AOM page. For example, the names of metrics reported by ICAgent are in lower camel case. These names are converted to the snake case when being displayed on the AOM page. (Example: memUsage is displayed as aom_container_memory_usage.)

Procedure

  1. Log in to the AOM 2.0 console and choose Prometheus Monitoring > Instances.
  2. In the Prometheus instance list, click a Prometheus instance that supports data multi-write. The instance details page is displayed.
  3. In the navigation pane on the left, choose Data Write.
  4. Set the configuration process.

    1. Select a VPC endpoint service. Select a VPC endpoint service from the drop-down list.
      NOTE:

      The selected VPC endpoint service must be in the same VPC as the self-built Prometheus instance. Only VPC endpoint services whose Backend Resource Type is Cloud Server or Elastic Load Balance can be selected.

    2. Add whitelist permissions.

      Click Add Now to add the provided account ID to the VPC endpoint service whitelist.

    3. Create a VPC endpoint.

      Click Create VPC Endpoint.

  5. On the VPC endpoint service details page, go to the Connection Management tab page and ensure that the status is Accepted.
  6. Set a data write address. Table 1 describes the parameters.

    Table 1 Data write address parameters

    Parameter

    Description

    Self-built Prometheus Instance's Remote Write Address

    Remote write address of the self-built Prometheus instance. Set this parameter based on site requirements.

    The format is "{IP address:port number}/{path}". Example: 192.168.0.1:9090/api/v1/write

    Authentication Mode

    Authentication mode for accessing a self-built Prometheus instance.

    • Basic: Enter the username and password of the Prometheus instance.
    • Token: A token is required for authentication.
    • None: No authentication is required.

  7. Click Save.

    Wait for about 5 minutes. You can check the reported metric data in the self-built Prometheus instance.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback