Huawei Cloud DDS
Collect Huawei Cloud DDS Metrics
Configuration¶
Install Func¶
It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed, please proceed with script installation.
For self-deployed Func, refer to Self-deployed Func
Install Script¶
Note: Prepare Huawei Cloud AK in advance (for simplicity, you can grant global read-only permission
ReadOnlyAccess
)
To synchronize Huawei Cloud DDS monitoring data, we install the corresponding collection scripts:
- integration_huaweicloud_dds: Collect DDS monitoring metrics
- integration_huaweicloud_dds_slowlog: Collect DDS slow log data
After clicking [Install], enter the corresponding parameters: Huawei Cloud AK, Huawei Cloud account name.
Click [Deploy Startup Script], the system will automatically create a Startup
script set and configure the corresponding startup script.
After the script installation is complete, find the script "TrueWatch Integration (Huawei Cloud-DDS Collection)" / "TrueWatch Integration (Huawei Cloud-DDS Slow Query Log Collection)" in Func under "Development", expand and modify the script, find collector_configs and monitor_configs respectively to edit the content in region_projects, change the region and Project ID to the actual region and Project ID, then click Save and Publish.
In addition, you can see the corresponding automatic trigger configuration in "Management / Automatic Trigger Configuration". Click [Execute] to execute it immediately without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.
Verification¶
- In "Management / Automatic Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the corresponding task records and logs for any exceptions
- In TrueWatch, check if asset information exists in "Infrastructure - Resource Catalog"
- In TrueWatch, check if there is corresponding monitoring data in "Metrics"
- In TrueWatch, check if there is corresponding slow log data in "Logs"
Metrics¶
Configure Huawei Cloud DDS metrics, more metrics can be collected through configuration Huawei Cloud DDS Metrics Details
Metric ID | Metric Name | Metric Meaning | Value Range | Measurement Object | Monitoring Period (Original Metric) |
---|---|---|---|---|---|
mongo001_command_ps |
Command Execution Frequency | This metric is used to count the average number of command statements executed per second on the node, in executions per second. Unit: Executions/s | ≥ 0 Executions/s | Document Database Instance, dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo002_delete_ps |
Delete Statement Execution Frequency | This metric is used to count the average number of delete statements executed per second on the node. Unit: Executions/s | ≥ 0 Executions/s | Document Database Instance, dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo003_insert_ps |
Insert Statement Execution Frequency | This metric is used to count the average number of insert statements executed per second on the node, in executions per second. Unit: Executions/s | ≥ 0 Executions/s | Document Database Instance, dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo004_query_ps |
Query Statement Execution Frequency | This metric is used to count the average number of query statements executed per second on the node. Unit: Executions/s | ≥ 0 Executions/s | Document Database Instance, dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo006_getmore_ps |
Update Statement Execution Frequency | This metric is used to count the average number of update statements executed per second on the node. Unit: Executions/s | 0 Executions/s | Document Database Instance, dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo007_chunk_num1 |
Chunk Count of Shard One | This metric is used to count the number of chunks in shard one. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num2 |
Chunk Count of Shard Two | This metric is used to count the number of chunks in shard two. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num3 |
Chunk Count of Shard Three | This metric is used to count the number of chunks in shard three. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num4 |
Chunk Count of Shard Four | This metric is used to count the number of chunks in shard four. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num5 |
Chunk Count of Shard Five | This metric is used to count the number of chunks in shard five. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num6 |
Chunk Count of Shard Six | This metric is used to count the number of chunks in shard six. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num7 |
Chunk Count of Shard Seven | This metric is used to count the number of chunks in shard seven. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num8 |
Chunk Count of Shard Eight | This metric is used to count the number of chunks in shard eight. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num9 |
Chunk Count of Shard Nine | This metric is used to count the number of chunks in shard nine. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num10 |
Chunk Count of Shard Ten | This metric is used to count the number of chunks in shard ten. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num11 |
Chunk Count of Shard Eleven | This metric is used to count the number of chunks in shard eleven. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_chunk_num12 |
Chunk Count of Shard Twelve | This metric is used to count the number of chunks in shard twelve. Unit: counts | 0~64 Counts | Document Database Cluster Instance | 1 minute 5 seconds |
mongo008_connections |
Current Active Connections | This metric is used to count the total number of connections attempting to connect to the DDS instance. Unit: Counts | 0~200 Counts | Document Database Instance | 1 minute 5 seconds |
mongo009_migFail_num |
Number of Block Migration Failures in the Past Day | This metric is used to count the number of block migration failures in the past day. Unit: Counts/s | ≥ 0 Counts/s | Document Database Cluster Instance | 1 minute 5 seconds |
mongo007_connections |
Current Active Connections | This metric is used to count the total number of connections attempting to connect to the DDS instance node. Unit: Counts | 0~200 Counts | Document Database Instance, dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo007_connections_usage |
Current Active Connection Percentage | This metric is used to count the percentage of connections attempting to connect to the instance node out of the available connections. Unit: % | 0~100% | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute 5 seconds |
mongo008_mem_resident |
Resident Memory | This metric is used to count the current size of resident memory. Unit: MB | ≥ 0 MB | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo009_mem_virtual |
Virtual Memory | This metric is used to count the current size of virtual memory. Unit: MB | ≥ 0 MB | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo010_regular_asserts_ps |
Regular Assertion Frequency | This metric is used to count the frequency of regular assertions. Unit: Executions/s | ≥ 0 Executions/s | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo011_warning_asserts_ps |
Warning Frequency | This metric is used to count the frequency of warnings. Unit: Executions/s | ≥ 0 Executions/s | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo012_msg_asserts_ps |
Message Assertion Frequency | This metric is used to count the frequency of message assertions. Unit: Executions/s | ≥ 0 Executions/s | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo013_user_asserts_ps |
User Assertion Frequency | This metric is used to count the frequency of user assertions. Unit: Executions/s | ≥ 0 Executions/s | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo014_queues_total |
Operations Waiting for Lock | This metric is used to count the current number of operations waiting for a lock. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo015_queues_readers |
Operations Waiting for Read Lock | This metric is used to count the current number of operations waiting for a read lock. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo016_queues_writers |
Operations Waiting for Write Lock | This metric is used to count the current number of operations waiting for a write lock. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo017_page_faults |
Page Fault Count | This metric is used to count the current number of page faults on the node. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo018_porfling_num |
Slow Query Count | This metric is used to count the total number of slow queries from the last 5 minutes to the current time on the node. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo019_cursors_open |
Current Maintained Cursor Count | This metric is used to count the current number of maintained cursors on the node. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo020_cursors_timeOut |
Service Timeout Cursor Count | This metric is used to count the current number of service timeout cursors on the node. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo021_wt_cahe_usage |
Data Size in Memory (WiredTiger Engine) | This metric is used to count the current data size in memory (WiredTiger engine). Unit: MB | ≥ 0 MB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo022_wt_cahe_dirty |
Dirty Data Size in Memory (WiredTiger Engine) | This metric is used to count the current dirty data size in memory (WiredTiger engine). Unit: MB | ≥ 0 MB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo023_wInto_wtCache |
Write Frequency to WiredTiger Memory | This metric is used to count the current write frequency to memory (WiredTiger engine). Unit: ≥ Bytes/s | ≥ 0 Bytes/s | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo024_wFrom_wtCache |
Write Frequency from WiredTiger Memory to Disk | This metric is used to count the current write frequency from memory to disk (WiredTiger engine). Unit: Bytes/s | ≥ 0 Bytes/s | Primary Node under Document Database Instance | 1 minute |
mongo025_repl_oplog_win |
Available Time in Oplog of Primary Node | This metric is used to count the available time in the Oplog of the primary node under the current instance. Unit: Hours | ≥ 0 Hours | Secondary Node under Document Database Instance | 1 minute |
mongo025_repl_headroom |
Oplog Overlap Duration Between Primary and Secondary Nodes | This metric is used to count the Oplog overlap duration between the primary node and secondary node under the instance. Unit: Seconds | ≥ 0 Seconds | Secondary Node under Document Database Instance | 1 minute |
mongo026_repl_lag |
Replication Delay Between Primary and Secondary Nodes | This metric is used to count the replication delay between the primary node and secondary node under the instance. Unit: Seconds | ≥ 0 Seconds | Secondary Node under Document Database Instance | 1 minute |
mongo027_repl_command_ps |
Command Execution Frequency Replicated by Secondary Node | This metric is used to count the average number of command statements executed per second replicated by the secondary node. Unit: Executions/s | ≥ 0 Executions/s | Secondary Node under Document Database Instance | 1 minute |
mongo028_repl_update_ps |
Update Statement Execution Frequency Replicated by Secondary Node | This metric is used to count the average number of update statements executed per second replicated by the secondary node. Unit: Executions/s | ≥ 0 Executions/s | Secondary Node under Document Database Instance | 1 minute |
mongo029_repl_delete_ps |
Delete Statement Execution Frequency Replicated by Secondary Node | This metric is used to count the average number of delete statements executed per second replicated by the secondary node. Unit: Executions/s | ≥ 0 Executions/s | Secondary Node under Document Database Instance | 1 minute |
mongo030_repl_insert_ps |
Insert Statement Execution Frequency Replicated by Secondary Node | This metric is used to count the average number of insert statements executed per second replicated by the secondary node. Unit: Executions/s | ≥ 0 Executions/s | Secondary Node under Document Database Instance | 1 minute |
mongo031_cpu_usage |
CPU Usage | This metric is used to count the CPU utilization of the measurement object. Unit: % | 0~100% | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo032_mem_usage |
Memory Usage | This metric is used to count the memory utilization of the measurement object. Unit: % | 0~100% | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo033_bytes_out |
Network Output Throughput | This metric is used to count the average output traffic per second from all network adapters of the measurement object. Unit: Bytes/s | ≥ 0 Bytes/s | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo034_bytes_in |
Network Input Throughput | This metric is used to count the average input traffic per second from all network adapters of the measurement object. Unit: Bytes/s | ≥ 0 Bytes/s | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo035_disk_usage |
Disk Utilization | This metric is used to count the disk utilization of the measurement object. Unit: % | 0~100% | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo036_iops |
IOPS | This metric is used to count the average number of I/O requests processed by the system per unit time on the current instance node. Unit: Counts | ≥ 0 Counts/s | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo037_read_throughput |
Disk Read Throughput | Average number of bytes read from the disk per second. Unit: Bytes/s | ≥ 0 Bytes/s | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo038_write_throughput |
Disk Write Throughput | Average number of bytes written to the disk per second. Unit: Bytes/s | ≥ 0 Bytes/s | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo039_avg_disk_sec_per_read |
Disk Read Time | This metric is used to count the average time taken to read from the disk during a certain period. Unit: Seconds | ≥ 0 Seconds | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo040_avg_disk_sec_per_write |
Disk Write Time | This metric is used to count the average time taken to write to the disk during a certain period. Unit: Seconds | ≥ 0 Seconds | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo042_disk_total_size |
Total Disk Size | This metric is used to count the total disk size of the measurement object. Unit: GB | 0~1000 GB | dds mongos node under Document Database Cluster Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo043_disk_used_size |
Disk Usage | This metric is used to count the total used disk size of the measurement object. Unit: GB | 0~1000 GB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo044_swap_usage |
SWAP Utilization | Percentage of swap memory SWAP usage. Unit: % | 0~100% | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo050_top_total_time |
Total Time Spent on Collection Operations | Mongotop-total time metric, total time spent on collection operations. Unit: Milliseconds | ≥ 0 Milliseconds | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo051_top_read_time |
Total Time Spent on Collection Read Operations | Mongotop-read time metric, total time spent on collection read operations. Unit: Milliseconds | ≥ 0 Milliseconds | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo052_top_write_time |
Total Time Spent on Collection Write Operations | Mongotop-write time metric, total time spent on collection write operations. Unit: Milliseconds | ≥ 0 Milliseconds | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo053_wt_flushes_status |
Number of Checkpoint Triggers in a Cycle | Number of checkpoints triggered during a polling interval of WiredTiger, recorded as the number of occurrences in the cycle. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo054_wt_cache_used_percent |
Percentage of Wiredtiger Cache in Use | Percentage of Wiredtiger cache size in use. Unit: % | 0~100% | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo055_wt_cache_dirty_percent |
Percentage of Wiredtiger Cache with Dirty Data | Percentage of Wiredtiger cache size with dirty data. Unit: % | 0~100% | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo070_rocks_active_memtable |
Data Size in Active Memtable | Collect the data size in the current active memtable. Unit: GB | 0~100 GB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo071_rocks_oplogcf_active_memtable |
Data Size in Active Memtable on oplogcf | Collect the data size in the current active memtable on oplogcf. Unit: GB | 0~100GB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo072_rocks_all_memtable |
Total Data Size in Memtable and Immutable-mem | Collect the total data size in the current memtable and immutable-mem. Unit: GB | 0~100GB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo073_rocks_oplogcf_all_memtable |
Total Data Size in Memtable and Immutable-mem on oplogcf | Collect the total data size in the current memtable and immutable-mem on oplogcf. Unit: GB | 0~100GB | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo074_rocks_snapshots |
Number of Unreleased Snapshots | Collect the number of unreleased snapshots. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo075_rocks_oplogcf_snapshots |
Number of Unreleased Snapshots on oplogcf | Collect the number of unreleased snapshots on oplogcf. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo076_rocks_live_versions |
Number of Active Versions | Collect the number of active versions. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo077_rocks_oplogcf_live_versions |
Number of Active Versions on oplogcf | Collect the number of active versions on oplogcf. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo078_rocks_block_cache |
Data Size in Blockcache | Collect the data size in the current blockcache. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo079_rocks_background_errors |
Number of Background Accumulated Errors | Collect the number of background accumulated errors. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo080_rocks_oplogcf_background_errors |
Number of Background Accumulated Errors on oplogcf | Collect the number of background accumulated errors on oplogcf. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo081_rocks_conflict_bytes_usage |
Buffer Usage for Write-Write Conflict Handling in Transactions | Collect the buffer usage for write-write conflict handling in transactions. Unit: % | 0~100% | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo082_rocks_uncommitted_keys |
Number of Uncommitted Keys | Collect the number of uncommitted keys. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo083_rocks_committed_keys |
Number of Committed Keys | Collect the number of committed keys. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo084_rocks_alive_txn |
Length of Active Transaction Chain | Collect the length of the active transaction chain. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo085_rocks_read_queue |
Length of Read Queue | Collect the length of the current read queue. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo086_rocks_commit_queue |
Length of Commit Queue | Collect the length of the current commit queue. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo087_rocks_ct_write_out |
Number of Used Concurrent Write Transactions | Collect the number of used concurrent write transactions. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo088_rocks_ct_write_available |
Number of Remaining Available Concurrent Write Transactions | Collect the number of remaining available concurrent write transactions. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo089_rocks_ct_read_out |
Number of Used Concurrent Read Transactions | Collect the number of used concurrent read transactions. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo090_rocks_ct_read_available |
Number of Remaining Available Concurrent Read Transactions | Collect the number of remaining available concurrent read transactions. Unit: Counts | ≥ 0 Counts | Primary Node under Document Database Instance, Secondary Node under Document Database Instance | 1 minute |
mongo091_active_session_count |
Number of Active Sessions in Cycle | This metric is used to count the number of all active local sessions cached in memory by the Mongo instance since the last refresh cycle. Unit: Counts | ≥ 0 Counts | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
mongo092_rx_errors |
Receive Packet Error Rate | This metric is used to count the ratio of error packets to total received packets during the monitoring cycle. Unit: % | 0~100% | Document Database Instance | 1 minute 5 seconds |
mongo093_rx_dropped |
Receive Packet Loss Rate | This metric is used to count the ratio of lost packets to total received packets during the monitoring cycle. Unit: % | 0~100% | Document Database Instance | 1 minute 5 seconds |
mongo094_tx_errors |
Send Packet Error Rate | This metric is used to count the ratio of error packets to total sent packets during the monitoring cycle. Unit: % | 0~100% | Document Database Instance | 1 minute 5 seconds |
mongo095_tx_dropped |
Send Packet Loss Rate | This metric is used to count the ratio of lost packets to total sent packets during the monitoring cycle. Unit: % | 0~100% | Document Database Instance | 1 minute 5 seconds |
mongo096_retrans_segs |
Number of Retransmitted Packets | This metric is used to count the number of retransmitted packets during the monitoring cycle. Unit: Counts | ≥ 0 Counts | Document Database Instance | 1 minute 5 seconds |
mongo097_retrans_rate |
Retransmission Rate | This metric is used to count the retransmission packet ratio during the monitoring cycle. Unit: % | 0~100% | Document Database Instance | 1 minute 5 seconds |
mongo098_out_rsts_nums |
Number of Sent RSTs | This metric is used to count the number of RSTs during the monitoring cycle. Unit: Counts | ≥ 0 Counts | Document Database Instance | 1 minute 5 seconds |
mongo099_read_time_average |
Average Read Command Time | This metric is the average read command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
mongo100_read_time_p99 |
Read Command p99 Time | This metric is the p99 read command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo101_read_time_p999》 | Read Command p999 Time | This metric is the p999 read command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
mongo102_write_time_average |
Average Write Command Time | This metric is the average write command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo103_write_time_p99》 | Write Command p99 Time | This metric is the p99 write command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo104_write_time_p999》 | Write Command p999 Time | This metric is the p999 write command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo105_command_time_average》 | Average Command Time | This metric is the average command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo106_command_time_p99》 | Command p99 Time | This metric is the p99 command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo107_command_time_p999》 | Command p999 Time | This metric is the p999 command time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo108_txn_time_average》 | Average Transaction Time | This metric is the average transaction time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo109_txn_time_p99》 | Transaction p99 Time | This metric is the p99 transaction time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
`mongo110_txn_time_p999》 | Transaction p999 Time | This metric is the p999 transaction time of a single node. Unit: Milliseconds | ≥ 0 Milliseconds | Document Database Instance, Read-only Node under Document Database Replica Set Instance, Primary Node under Document Database Instance, Secondary Node under Document Database Instance, Hidden Node under Document Database Instance | 1 minute |
Object¶
After data is synchronized normally, you can view the data in TrueWatch's "Infrastructure - Resource Catalog".
{
"measurement": "huaweicloud_dds",
"tags": {
"RegionId" : "cn-south-1",
"project_id" : "756ada1aa17e4049b2a16ea41912e52d",
"enterprise_project_id" : "",
"instance_id" : "16b35ebaba1c44c39d9c24bae742ca97in02",
"instance_name" : "dds-3ed3",
"status" : "normal"
},
"fields": {
"engine" : "wiredTiger",
"db_user_name" : "rwuser",
"mode" : "",
"pay_mode" : "0",
"port" : "8635",
"security_group_id" : "7aa51dbf-xxxx-xxxx-xxxx-dad3c4828b58",
"ssl" : "1",
"vpc_id" : "674e9b42-xxxx-xxxx-xxxx-5abcc565b961",
"backup_strategy" : "{Instance JSON Data}",
"datastore" : "{Instance JSON Data}",
"groups" : "[{Instance JSON Data}]",
"create_time" : "2024-10-29T03:28:46",
"update_time" : "2024-11-04T13:21:35"
}
}
Note: The fields in
tags
,fields
may change with subsequent updatesTip 1:
tags.instance_id
value is the instance ID, used as a unique identifierTip 2:
fields.message
fields.backup_strategy
fields.datastore
fields.groups
fields.actions