Huawei Cloud DDM¶
'The Huawei Cloud DDM monitoring dashboard displays metrics including message throughput, latency, concurrent connections, and reliability. These metrics reflect the performance and reliability of DDMS in handling large-scale message delivery and real-time data streams.'
Configuration¶
Install Func¶
It is recommended to activate the Guance integration - Extensions - DataFlux Func (Automata): all prerequisites are automatically installed. Please proceed with the script installation.
If you need to deploy Func manually, refer to Manual Deployment of Func
Install Script¶
Note: Please prepare the Huawei Cloud AK with the required permissions in advance (for simplicity, you can grant the global read-only permission
Tenant Guest).
Automata Activation Script¶
- Log in to the Guance console.
- Click on the [Integration] menu and select [Cloud Account Management].
- Click [Add Cloud Account], select [Huawei Cloud], and fill in the required information on the interface. If you have already configured the cloud account information, ignore this step.
- Click [Test], and if the test is successful, click [Save]. If the test fails, please check if the relevant configuration information is correct and retest.
- Click [Cloud Account Management] to see the list of added cloud accounts. Click on the corresponding cloud account to enter the details page.
- Click the [Integration] button on the cloud account details page. Under the
Not Installedlist, findHuawei Cloud DDM, and click the [Install] button to open the installation interface and proceed with the installation.
Manual Activation Script¶
-
Log in to the Func console, click [Script Market], enter the Guance script market, and search for
integration_huaweicloud_ddm. -
Click [Install], then enter the corresponding parameters: Huawei Cloud AK, SK, and account name.
-
Click [Deploy Startup Script], the system will automatically create the
Startupscript set and configure the corresponding startup script. -
After enabling, you can see the corresponding automatic trigger configuration under [Management / Automatic Trigger Configuration]. Click [Execute] to immediately execute once without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.
Verification¶
- Under [Management / Automatic Trigger Configuration], confirm whether the corresponding task has the automatic trigger configuration. You can also check the corresponding task records and logs to see if there are any exceptions.
- In Guance, under [Infrastructure / Custom], check if there is asset information.
- In Guance, under [Metrics], check if there is corresponding monitoring data.
Metrics¶
After configuring Huawei Cloud Cloud Monitoring, the default metrics are as follows. More metrics can be collected through configuration.
| Metric Id | Metric Name | Dimensions | Statistics | Unit |
|---|---|---|---|---|
| ddm_active_connections_average | Average Active Connections | userId,instanceId | Average,Maximum | Count |
| ddm_bytes_in_average | Average Bytes Received Per Second | userId,instanceId | Average,Maximum | Bytes/Second |
| ddm_bytes_out_average | Average Bytes Sent Per Second | userId,instanceId | Average,Maximum | Bytes/Second |
| ddm_cpu_util_average | Average CPU Utilization | userId,instanceId | Average,Maximum | Percentage |
| ddm_qps_average | Average Queries Per Second | userId,instanceId | Average,Maximum | Queries/Second |
| ddm_node_status_alarm_code_average | Average Alarm Code for Node Status | userId,instanceId | Average,Maximum | Count |
| ddm_write_count_average | Average Writes Per Second | userId,instanceId | Average,Maximum | Writes/Second |
| ddm_rt_avg_average | Average Response Time | userId,instanceId | Average,Maximum | ms |