Updated on 2024-04-01 GMT+08:00

DDS Metrics

This section describes metrics reported by Document Database Service (DDS) to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the metrics of the monitored object and alarms generated for DDS.

Namespace

SYS.DDS

Monitoring Metrics

Table 1 Recommended DDS metrics

Metric ID

Metrics Name

Description

Value Range

Monitored Object

Monitoring Interval (Raw Data)

mongo007_connections_usage

Percentage of Active Node Connections

Percentage of the number of connections that attempt to connect to the instance node to the total number of available connections

0~100%

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo032_mem_usage

Memory Usage

Memory usage of the monitored object

0~100%

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo031_cpu_usage

CPU Usage

CPU usage of the monitored object

0~100%

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo035_disk_usage

Storage Space Usage

Storage space usage of the monitored object

0~100%

  • Primary node
  • Secondary node

1 minute

Table 2 DDS metrics

Metric ID

Metrics Name

Description

Value Range

Monitored Object

Monitoring Interval (Raw Data)

mongo001_command_ps

COMMAND Statements per Second

Number of COMMAND statements executed per second

≥ 0 Count/s

  • DDS DB instance
  • dds mongos node
  • Read replica of a DDS replica set instance
  • Primary node
  • Secondary node
  • Hidden node

1 minute

5 seconds

mongo002_delete_ps

DELETE Statements per Second

Number of DELETE statements executed per second

≥ 0 Count/s

  • DDS DB instance
  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo003_insert_ps

INSERT Statements per Second

Number of INSERT statements executed per second

≥ 0 Count/s

  • DDS DB instance
  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo004_query_ps

QUERY Statements per Second

Number of QUERY statements executed per second

≥ 0 Count/s

  • DDS DB instance
  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo005_update_ps

UPDATE Statements per Second

Number of UPDATE statements executed per second

≥ 0 Count/s

  • DDS DB instance
  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo006_getmore_ps

GETMORE Statements per Second

Number of GETMORE statements executed per second

≥ 0 Count/s

  • DDS DB instance
  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo007_chunk_num1

Chunks of Shard 1

Number of chunks in shard 1

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num2

Chunks of Shard 2

Number of chunks in shard 2

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num3

Chunks of Shard 3

Number of chunks in shard 3

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num4

Chunks of Shard 4

Number of chunks in shard 4

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num5

Chunks of Shard 5

Number of chunks in shard 5

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num6

Chunks of Shard 6

Number of chunks in shard 6

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num7

Chunks of Shard 7

Number of chunks in shard 7

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num8

Chunks of Shard 8

Number of chunks in shard 8

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num9

Chunks of Shard 9

Number of chunks in shard 9

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num10

Chunks of Shard 10

Number of chunks in shard 10

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num11

Chunks of Shard 11

Number of chunks in shard 11

0–64 Counts

DDS cluster instance

1 minute

mongo007_chunk_num12

Chunks of Shard 12

Number of chunks in shard 12

0–64 Counts

DDS cluster instance

1 minute

mongo008_connections

Active Instance Connections

Total number of connections attempting to connect to a DDS DB instance

0–200 Counts

DDS DB instance

1 minute

mongo009_migFail_num

Chunk Migration Failures in Last 24 hrs

Number of chunk migration failures in the last 24 hours

≥ 0 Counts

DDS cluster instance

1 minute

mongo007_connections

Active Node Connections

Total number of connections attempting to connect to a DDS DB instance node

0–200 Counts

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo007_connections_usage

Percentage of Active Node Connections

Percentage of the number of connections that attempt to connect to the instance node to the total number of available connections

0~100%

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo008_mem_resident

Resident Memory

Size of resident memory in MB

≥ 0 MB

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

mongo009_mem_virtual

Virtual Memory

Size of virtual memory in MB

≥ 0 MB

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

mongo010_regular_asserts_ps

Regular Asserts per Second

Number of regular asserts per second

≥ 0 Count/s

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

mongo011_warning_asserts_ps

Warning Asserts per Second

Number of warning asserts per second

≥ 0 Count/s

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

mongo012_msg_asserts_ps

Message Asserts per Second

Number of message asserts per second

≥ 0 Count/s

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

mongo013_user_asserts_ps

User Asserts per Second

Number of user asserts per second

≥ 0 Count/s

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

mongo014_queues_total

Operations Queued Waiting for a Lock

Number of operations queued waiting for a lock

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo015_queues_readers

Operations Queued Waiting for a Read Lock

Number of operations queued waiting for a read lock

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo016_queues_writers

Operations Queued Waiting for a Write Lock

Number of operations queued waiting for a write lock

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo017_page_faults

Page Faults

Number of page faults on the monitored nodes

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo018_porfling_num

Slow Queries

Number of slow queries on the monitored nodes

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo019_cursors_open

Maintained Cursors

Number of maintained cursors on the monitored nodes

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo020_cursors_timeOut

Timeout Cursors

Number of timed out cursors on the monitored nodes

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo021_wt_cahe_usage

Bytes in WiredTiger Cache

Size of data in the WiredTiger cache in MB

≥ 0 MB

  • Primary node
  • Secondary node

1 minute

mongo022_wt_cahe_dirty

Tracked Dirty Bytes in WiredTiger Cache

Size of tracked dirty data in the WiredTiger cache in MB

≥ 0 MB

  • Primary node
  • Secondary node

1 minute

mongo023_wInto_wtCache

Bytes Written Into Cache per Second

Bytes written into WiredTiger cache per second

≥ 0 bytes/s

  • Primary node
  • Secondary node

1 minute

mongo024_wFrom_wtCache

Bytes Written From Cache per Second

Bytes written from the WiredTiger cache to the disk per second

≥ 0 bytes/s

  • Primary node
  • Secondary node

1 minute

mongo025_repl_oplog_win

Oplog Window

Available time in hour in the monitored primary node's oplog

≥ 0 Hours

Primary node

1 minute

mongo026_oplog_size_ph

Oplog Growth Rate

Speed in MB/hour at which oplogs are generated on the monitored primary node

≥ 0 MB/Hour

Primary node

1 minute

mongo025_repl_headroom

Replication Headroom

Time difference in seconds between the primary's oplog window and the replication lag of the secondary

≥ 0 Seconds

Secondary node

1 minute

mongo026_repl_lag

Replication Lag

A delay in seconds between an operation on the primary and the application of that operation from the oplog to the secondary

≥ 0 Seconds

Secondary node

1 minute

mongo027_repl_command_ps

Replicated COMMAND Statements per Second

Number of replicated COMMAND statements executed on the secondary node per second

≥ 0 Count/s

Secondary node

1 minute

mongo028_repl_update_ps

Replicated UPDATE Statements per Second

Number of replicated UPDATE statements executed on the secondary node per second

≥ 0 Count/s

Secondary node

1 minute

mongo029_repl_delete_ps

Replicated DELETE Statements per Second

Number of replicated DELETE statements executed on the secondary node per second

≥ 0 Count/s

Secondary node

1 minute

mongo030_repl_insert_ps

Replicated INSERT Statements per Second

Number of replicated INSERT statements executed on the secondary node per second

≥ 0 Count/s

Secondary node

1 minute

mongo031_cpu_usage

CPU Usage

CPU usage of the monitored object

0~100%

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo032_mem_usage

Memory Usage

Memory usage of the monitored object

0~100%

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo033_bytes_out

Network Output Throughput

Outgoing traffic in bytes per second

≥ 0 bytes/s

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo034_bytes_in

Network Input Throughput

Incoming traffic in bytes per second

≥ 0 bytes/s

  • dds mongos node
  • Primary node
  • Secondary node

1 minute

5 seconds

mongo035_disk_usage

Storage Space Usage

Storage space usage of the monitored object

0~100%

  • Primary node
  • Secondary node

1 minute

mongo036_iops

IOPS

Average number of I/O requests processed by the system in a specified period

≥ 0 Count/s

  • Primary node
  • Secondary node

1 minute

mongo037_read_throughput

Disk Read Throughput

Number of bytes read from the disk per second

≥ 0 bytes/s

  • Primary node
  • Secondary node

1 minute

mongo038_write_throughput

Disk Write Throughput

Number of bytes written into the disk per second

≥ 0 bytes/s

  • Primary node
  • Secondary node

1 minute

mongo039_avg_disk_sec_per_read

Average Time per Disk Read

Average time required for each disk read in a specified period

≥ 0 Seconds

  • Primary node
  • Secondary node

1 minute

mongo040_avg_disk_sec_per_write

Average Time per Disk Write

Average time required for each disk write in a specified period

≥ 0 Seconds

  • Primary node
  • Secondary node

1 minute

mongo042_disk_total_size

Total Storage Space

Total storage space of the monitored object

0–1000 GB

  • Primary node
  • Secondary node

1 minute

mongo043_disk_used_size

Used Storage Space

Used storage space of the monitored object

0–1000 GB

  • Primary node
  • Secondary node

1 minute

mongo044_swap_usage

SWAP Usage

Swap usage, in percentage.

0~100%

  • dds mongos node
  • Secondary node

1 minute

mongo050_top_total_time

Total Time Spent on Collections

Mongotop-total time: total time spent on collection operations, in milliseconds.

≥ 0 Milliseconds

  • Primary node
  • Secondary node

1 minute

mongo051_top_read_time

Total Time Spent on Collections

Mongotop-read time: total time spent reading collections, in milliseconds.

≥ 0 Milliseconds

  • Primary node
  • Secondary node

1 minute

mongo052_top_write_time

Total Time Spent on Collections

Mongotop-write time: total time spent writing collections, in milliseconds.

≥ 0 Milliseconds

  • Primary node
  • Secondary node

1 minute

mongo053_wt_flushes_status

Number of Times that Checkpoints Are Triggered

Number of times that the checkpoint is triggered during a polling interval of WiredTiger

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo054_wt_cache_used_percent

Percentage of the Cache Used by WiredTiger

Cache size used by WiredTiger, in percentage

0~100%

  • Primary node
  • Secondary node

1 minute

mongo055_wt_cache_dirty_percent

Percentage of Dirty Data in the WiredTiger Cache

Dirty size in the WiredTiger cache, in percentage

0~100%

  • Primary node
  • Secondary node

1 minute

mongo070_rocks_active_memtable

Memtable Data Size

Size of data in the active memtable

0~100 GB

  • Primary node
  • Secondary node

1 minute

mongo071_rocks_oplogcf_active_memtable

Memtable Data Size on Oplogcf

Size of data in the active memtable on oplogcf

0~100 GB

  • Primary node
  • Secondary node

1 minute

mongo072_rocks_all_memtable

Total Data Size of Memtable and Immutable-memtable

Total data size of memtable and immutable-memtable

0~100 GB

  • Primary node
  • Secondary node

1 minute

mongo073_rocks_oplogcf_all_memtable

Total Data Size of Memtable and Immutable-memtable on Oplogcf

Total data size of memtable and immutable-memtable on oplogcf

0~100 GB

  • Primary node
  • Secondary node

1 minute

mongo074_rocks_snapshots

Unreleased Snapshots

Number of unreleased snapshots

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo075_rocks_oplogcf_snapshots

Unreleased Snapshots on Oplogcf

Number of unreleased snapshots on oplogcf

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo076_rocks_live_versions

Active Versions

Number of active versions

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo077_rocks_oplogcf_live_versions

Active Versions on Oplogcf

Number of active versions on oplogcf

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo078_rocks_block_cache

Data Size in Blockcache

Size of data in blockcache

0~100 GB

  • Primary node
  • Secondary node

1 minute

mongo079_rocks_background_errors

Accumulated Background Errors

Accumulated number of background errors

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo080_rocks_oplogcf_background_errors

Accumulated Background Errors on Oplogcf

Number of accumulated background errors on oplogcf

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo081_rocks_conflict_bytes_usage

Buffer Usage for Processing Transaction Write Conflicts

Usage of the buffer for processing transaction write conflicts

0~100%

  • Primary node
  • Secondary node

1 minute

mongo082_rocks_uncommitted_keys

Uncommitted Keys

Number of uncommitted keys

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo083_rocks_committed_keys

Committed Keys

Number of committed keys

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo084_rocks_alive_txn

Length of Active Transaction Linked Lists

Length of active transaction linked lists

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo085_rocks_read_queue

Length of Read Queues

Length of read queues

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo086_rocks_commit_queue

Length of Committed Queues

Length of committed queues

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo087_rocks_ct_write_out

Used Concurrent Write Transactions

Number of used concurrent write transactions

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo088_rocks_ct_write_available

Available Concurrent Write Transactions

Number of available concurrent write transactions

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo089_rocks_ct_read_out

Used Concurrent Read Transactions

Number of used concurrent read transactions

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo090_rocks_ct_read_available

Available Concurrent Read Transactions

Number of available concurrent read transactions

≥ 0 Counts

  • Primary node
  • Secondary node

1 minute

mongo091_active_session_count

Active Sessions

Number of active sessions cached in the memory of the Mongo instance since the last refresh

≥ 0 Counts

  • DDS DB instance
  • Read replica of a DDS replica set instance
  • Primary node
  • Secondary node
  • Hidden nodes of a DDS instance

1 minute

mongo092_rx_errors

Error Rate of Received Packets

Ratio of the number of error packets to the total number of received packets during the monitoring period

0~100%

DDS DB instance

1 minute

5 seconds

mongo093_rx_dropped

Loss Rate of Received Packets

Ratio of the number of lost packets to the total number of received packets during the monitoring period

0~100%

DDS DB instance

1 minute

5 seconds

mongo094_tx_errors

Error Rate of Sent Packets

Ratio of the number of error packets to the total number of sent packets during the monitoring period

0~100%

DDS DB instance

1 minute

5 seconds

mongo095_tx_dropped

Loss Rate of Sent Packets

Ratio of the number of lost packets to the total number of sent packets during the monitoring period

0~100%

DDS DB instance

1 minute

5 seconds

mongo096_retrans_segs

Retransmitted Packets

The number of retransmitted packets during the monitoring period

≥ 0 Counts

DDS DB instance

1 minute

5 seconds

mongo097_retrans_rate

Retransmission Ratio

Ratio of retransmitted packets during the monitoring period

0~100%

DDS DB instance

1 minute

5 seconds

mongo098_out_rsts_nums

Sent RST Packets

The number of sent RST packets during the monitoring period

≥ 0 Counts

DDS DB instance

1 minute

5 seconds

Metrics whose IDs contain rocks are used to monitor instances or instance nodes of version 4.2.

Dimensions

Key

Value

mongodb_instance_id

DDS DB instance ID

Supports cluster instances of Community Edition, replica set instances, and single node instances.

mongodb_node_id

DDS node ID

mongodb_instance_id is used to specify dimension fields when the Cloud Eye API is invoked. Replica sets and single node instance types do not have instance-level metrics.