检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
ECS: Prometheus for ECS CCE: Prometheus for CCE REMOTE_WRITE: Common Prometheus instance CLOUD_SERVICE: Prometheus for cloud services ACROSS_ACCOUNT: Prometheus for multi-account aggregation prom_version No String Prometheus instance version. enterprise_project_id No String Enterprise
AOM, APIG, Astro Zero, Bare Metal Server (BMS), CBH, Cloud Container Engine (CCE), CDN, Cloud Firewall (CFW), Cloud Trace Service (CTS), DCS, DDS, Anti-DDoS Service (AAD), DMS for Kafka, DRS, DWS, Elastic Cloud Server (ECS), ELB, Enterprise Router, FunctionGraph, GaussDB, Graph Engine
Figure 2 Viewing the access code Log in to the ECS and locate the Prometheus configuration file. Run the following command: .
Obtaining Basic Information Before querying time series data, obtain the value of the node ID from dimensions on the ECS console, and the value of the cluster ID from dimensions on the cluster management page of the CCE console.
Figure 1 Configuration code for Prometheus remote write Log in to the target ECS and configure the prometheus.yml file. Run the following command to find and start the prometheus.yml file: .
There are two types of nodes: Static: Select an ECS under a specified CMDB application. Dynamic: Select a node in the CMDB application to dynamically obtain ECSs under the node. This method also takes effect for instances added later.
Create a Prometheus instance for ECS or a common Prometheus instance and associate it with a collection task to mark and categorize collected data. For details, see Managing Prometheus Instances. Connect middleware to AOM. For details, see Ingesting MySQL Metrics to AOM.
60000, "resource_group_id": "5680587ab6*******755c543c1f", "metadata": { "event_name": "test", //${metadata.event_name} "event_severity": "Major", //${metadata.event_severity} "event_type": "alarm", //${metadata.event_type} "resource_provider": "ecs
A host can be your own VM or physical machine, or a VM (for example, an ECS) or physical machine (for example, a BMS) that you purchased on Huawei Cloud.
Enumeration values: default ECS VPC CCE REMOTE_WRITE KUBERNETES CLOUD_SERVICE ACROSS_ACCOUNT cce_cluster_enable No String Whether to enable a CCE cluster. Enumeration values: true false prom_status No String Prometheus instance status.
Solved the issue of high CPU usage caused by file signature. 2024-10-09 5.12.224 Cleared all export HISTSIZE=0 entries (if any) from the .bashrc file in the ECS upgrade scenario. 2024-09-27 5.12.218 Supported GBK encoding in the logs reported by ICAgent.
Package", "template_name" : "CMS::ECS::Package", "type" : "manual", "update_time" : 1600000000 } ], "total_elements" : 1 } Status code: 400 Bad Request: Invalid request.
There are two types of nodes: Static: Select an ECS under a specified CMDB application. Dynamic: Select a node in the CMDB application to dynamically obtain ECSs under the node. This method also takes effect for instances added later. Set a package management task.
Enumeration values: default ECS VPC CCE REMOTE_WRITE KUBERNETES CLOUD_SERVICE ACROSS_ACCOUNT prom_version String Prometheus instance version. prom_create_timestamp Long Timestamp when the Prometheus instance is created. prom_update_timestamp Long Timestamp when the Prometheus instance
" : { "project_id" : "{{project_id}}", "script_param" : "{xxxx}", "region_id" : "{{region_id}}", "get_instances" : "{xxxxx}" } }, "type" : "operation" }, "name" : "1", "task_name" : "CMS::ECS
When selecting an ECS, click OK in the dialog box. The system will then issue a task for automatically installing either UniAgent or ICAgent. Otherwise, the host cannot be added to the host group.
When selecting an ECS, click OK in the dialog box. The system will then issue a task for automatically installing either UniAgent or ICAgent. Otherwise, the host cannot be added to the host group.
"enterprise_project_id" : "0", "event_sn" : "1283514476372426755", "id" : "6775161208461480000", "metadata" : { "event_name" : "test", "event_severity" : "Major", "event_type" : "alarm", "resource_id" : "ecs123", "resource_provider" : "ecs