tencent cloud

Feedback

Monitoring Feature

Last updated: 2023-08-15 17:00:31
    The monitoring feature provided by TencentDB for MongoDB allows you to view the real-time monitoring metric data of instance resources. It collects the monitoring statistics in various forms such as visual chart, table, and dashboard. In addition, it supports setting alarms and pushing alarm notifications promptly, so that you can stay up to date with database service exceptions and adjust your business in time to guarantee stable business operations.

    Monitoring Granularity

    TencentDB for MongoDB currently doesn't allow you to customize the monitoring data collection granularity. The adaptive policy is as follows:
    Time Span
    Monitoring Granularity
    Retention Period
    0–1 day
    5 seconds
    1 day
    0–1 day
    1 minute
    15 days
    0–1 day
    5 minutes
    31 days
    0–1 day
    1 hour
    93 days
    0–1 day
    1 days
    186 days
    0–7 days
    1 hour
    93 days
    0–7 days
    1 day
    186 days
    7–30 days
    1 hour
    93 days
    7–30 days
    1 day
    186 days

    Instance Types for Monitoring

    Instance: Primary, read-only, and disaster recovery instances can be monitored, and each instance is provided with a separate monitoring view.
    Node: All mongod and mongos nodes can be monitored, and each node is provided with a separate monitoring view.

    Monitoring Metrics

    Instances

    Dimension
    Monitoring Metric
    Parameter
    Unit
    Metric Description
    CPU Monitoring
    Max CPU Utilization of Mongod
    mongod_max_mem_usage
    %
    Maximum CPU utilization among all mongod nodes in the cluster.
    Average Mongod CPU Utilization
    monogd_avg_cpu_usage
    %
    Average CPU utilization of all mongod nodes in the cluster.
    Max CPU Utilization of Mongos
    monogs_max_cpu_usage
    %
    Maximum CPU utilization among all mongos nodes in the sharded cluster.
    Average Mongos CPU Utilization
    monogs_avg_cpu_usage
    %
    Average CPU utilization of all mongos nodes in the sharded cluster.
    Memory Monitoring
    Max Memory Utilization of Mongod
    mongod_max_mem_usage
    %
    Maximum memory utilization among all mongod nodes in the cluster.
    Average Memory Utilization of Mongod
    mongod_avg_mem_usage
    %
    Average memory utilization of all mongod nodes in the cluster.
    Max Memory Utilization of Mongos
    mongos_max_mem_usage
    %
    Maximum memory utilization among all mongos nodes in the sharded cluster.
    Average Memory Utilization of Mongos
    mongos_avg_mem_usage
    %
    Average memory utilization of all mongos nodes in the sharded cluster.
    Disk Monitoring
    Storage Space Utilization
    disk_usage
    %
    Proportion of the used disk space to the disk space applied for.
    Network Monitoring
    Connections
    cluster_conn
    Pcs
    Number of TCP connections to the instance.
    Connection Percentage
    connper
    %
    Proportion of current connections to the maximum connections.
    Inbound Traffic
    cluster_view
    Bytes
    Number of bytes in the traffic inbound to the cluster.
    Outbound Traffic
    cluster_netout
    Bytes
    Number of bytes in the traffic outbound from the cluster.
    Latency Monitoring
    Average Latency of All Requests
    avg_all_request_delay
    ms
    Average execution latency of all requests in the cluster.
    Average Update Delay
    avg_update_delay
    ms
    Average latency of update requests in the cluster.
    Average Insertion Delay
    avg_insert_delay
    ms
    Average latency of insertion requests in the cluster.
    Average Read Latency
    avg_read_delay
    ms
    Average latency of read requests in the cluster.
    Average Latency of Aggregate Requests
    avg_aggregate_delay
    ms
    Average latency of aggregate requests in the cluster.
    Average Count Delay
    avg_count_delay
    ms
    Average latency of count requests in the cluster.
    Average getMore Delay
    avg_getmore_delay
    ms
    Average latency of getMore requests in the cluster.
    Average Deletion Delay
    avg_delete_delay
    ms
    Average latency of deletion requests in the cluster.
    Average Command Latency
    avg_command_delay
    ms
    Average latency of command requests in the cluster other than INSERT, UPDATE, DELETE, and QUERY requests.
    10–50 ms
    10 ms
    -
    Number of requests with an execution time between 10 and 50 ms.
    50–100 ms
    50 ms
    -
    Number of requests with an execution time between 50 and 100 ms.
    100 ms
    100 ms
    -
    Number of requests with an execution time of more than 100 ms.
    Request Monitoring
    Total Requests
    success_per_second
    Counts/sec
    Number of requests successfully executed in the cluster per second.
    Insert Requests
    insert_per_second
    Counts/sec
    Number of insertion requests executed in the cluster per second.
    Read Requests
    read_per_second
    Counts/sec
    Number of read requests executed in the cluster per second.
    Update Requests
    update_per_second
    Counts/sec
    Number of update requests executed in the cluster per second.
    Deletion Requests
    delete_per_second
    Counts/sec
    Number of deletion requests executed in the cluster per second.
    Count Requests
    count_per_second
    Counts/sec
    Number of count requests received by the cluster per second.
    getMore Requests
    getmore_per_second
    Counts/sec
    Number of getMore requests received by the cluster per second.
    Aggregate Requests
    aggregate_per_second
    Counts/sec
    Number of aggregate requests in the cluster per second.
    Command Requests
    command_per_second
    Counts/sec
    Number of command requests received by the cluster per second other than INSERT, UPDATE, DELETE, and QUERY requests.
    Request Count
    Total requests
    node_success
    -
    Total number of requests in the cluster.
    Insert Requests
    node_inserts
    -
    Number of insertion requests received by the cluster.
    Read Requests
    node_reads
    -
    Number of read requests received by the cluster.
    Update Requests
    node_updates
    -
    Number of update requests in the cluster.
    Deletion Requests
    node_deletes
    -
    Number of deletion requests in the cluster.
    Count Requests
    node_counts
    -
    Number of count requests received by the cluster.
    getMore Requests
    node_getmores
    -
    Number of getMore requests received by the cluster.
    Aggregate Requests
    node_aggregates
    -
    Number of aggregate requests in the cluster.
    Command Requests
    node_commands
    -
    Number of command requests received by the cluster other than INSERT, UPDATE, DELETE, and QUERY requests.
    

    Mongod node

    Dimension
    Monitoring Metric
    Parameter
    Unit
    Metric Description
    CPU Monitoring
    CPU Utilization
    cpuusage
    %
    CPU utilization of the mongod node.
    Memory Monitoring
    Memory Utilization
    memusage
    %
    Memory utilization of the mongod node.
    Disk Monitoring
    Used Disk Space
    diskusage
    MBytes
    Disk capacity usage of the mongod node.
    Disk Reads
    ioread
    Counts/sec
    Number of writes on the mongod node per second.
    Disk Writes
    iowrite
    Counts/sec
    Number of writes on the mongod node per second.
    Network Monitoring
    Inbound Traffic
    netout
    Bytes
    Number of bytes in the traffic inbound to the mongod node.
    Outbound Traffic
    netin
    Bytes
    Number of bytes in the traffic outbound from the mongod node.
    Average Request Latency Monitoring
    Average Latency of All Requests
    node_avg_all_requests_delay
    ms
    Average latency of all requests received by the mongod node.
    Average Update Delay
    node_avg_update_delay
    ms
    Average latency of update requests on the mongod node.
    Average Insertion Delay
    node_avg_insert_delay
    ms
    Average latency of insertion requests on the mongod node.
    Average Read Latency
    node_avg_read_delay
    ms
    Average latency of read requests on the mongod node.
    Average Latency of Aggregate Requests
    node_avg_aggregate_delay
    ms
    Average latency of aggregate requests on the mongod node.
    Average Count Delay
    node_avg_count_delay
    ms
    Average latency of count requests on the mongod node.
    Average getMore Delay
    node_avg_getmore_delay
    ms
    Average latency of getMore requests on the mongos node.
    Average Deletion Delay
    node_avg_delete_delay
    ms
    Average latency of deletion requests on the mongod node.
    Average Command Latency
    node_avg_command_delay
    ms
    Average latency of command requests on the mongod node.
    10-50 ms
    10 ms
    -
    Number of requests with an execution time between 10 and 50 ms.
    50-100 ms
    50 ms
    -
    Number of requests with an execution time between 50 and 100 ms.
    100 ms
    100 ms
    -
    Number of requests with an execution time of more than 100 ms.
    Request Monitoring
    Total Requests
    node_success_per_second
    Counts/sec
    Total number of requests on the mongod node per second.
    Insert Requests
    node_insert_per_second
    Counts/sec
    Number of insertion requests on the mongod node per second.
    Read Requests
    node_read_per_second
    Counts/sec
    Number of read requests on the mongod node per second.
    Update Requests
    node_update_per_second
    Counts/sec
    Number of update requests on the mongod node per second.
    Deletion Requests
    node_delete_per_second
    Counts/sec
    Number of deletion requests on the mongod node per second.
    Count Requests
    node_count_per_second
    Counts/sec
    Number of count requests received by the mongod node per second.
    getMore Requests
    node_getmore_per_second
    Counts/sec
    Number of getMore requests received by the mongod node per second.
    Aggregate Requests
    node_aggregate_per_second
    Counts/sec
    Number of aggregate requests in the mongod node per second.
    Command Requests
    node_command_per_second
    Counts/sec
    Number of command requests received by the mongod node per second other than INSERT, UPDATE, DELETE, and QUERY requests.
    Kernel Monitoring
    Active Write Requests
    ar
    -
    Number of active write requests on the mongod node.
    Active Read Requests
    aw
    -
    Number of active read requests on the mongod node.
    Queuing Read Requests
    qr
    -
    Length of the client read request queue on the mongod node.
    Queuing Write Requests
    qw
    -
    Length of the client write request queue on the mongod node.
    Pieces of Data Deleted via TTL
    ttl_deleted
    -
    Number of documents deleted through TTL on the mongod node.
    TTL Initiation Times
    ttl_pass
    -
    Number of documents deletions from the TTL collection performed by the backend process.
    Active Sessions
    active_session
    -
    Number of active sessions on the node.
    Oplog Retention Period
    node_oplog_reserved_time
    hours
    Oplog retention period.
    Primary/Secondary Delay
    node_slavedelay
    seconds
    Delay time between the primary and secondary nodes.
    Cache Hit Rate
    replicaset_node
    %
    Cache hit rate of the current cluster.
    Cache Utilization (%)
    node_cache_used
    %
    Percentage of the used cache to the total cache space.
    Dirty Data (%) in Cache
    node_cache_dirty
    %
    Percentage of the size of dirty data in the cache to the total cache space.
    Request Count
    Total requests
    node_success
    -
    Total number of requests in the cluster.
    Insert Requests
    node_inserts
    -
    Number of insertion requests in the cluster.
    Read Requests
    node_reads
    -
    Number of read requests in the cluster.
    Update Requests
    replicaset_node
    -
    Number of update requests in the cluster.
    Delete Requests
    node_deletes
    -
    Number of deletion requests in the cluster.
    Count Requests
    node_counts
    -
    Number of count requests received by the cluster.
    getMore Requests
    node_getmores
    -
    Number of getMore requests received by the cluster.
    Aggregate Requests
    node_aggregates
    -
    Number of aggregate requests in the cluster.
    Command Requests
    node_commands
    -
    Number of command requests received by the cluster other than INSERT, UPDATE, DELETE, and QUERY requests.
    

    Mongos node (sharded cluster)

    Dimension
    Monitoring Metric
    Monitoring Metric
    Unit
    Metric Description
    CPU Monitoring
    CPU Utilization
    cpuusage
    %
    CPU utilization of the mongos node.
    Memory Monitoring
    Memory Utilization
    memusage
    %
    Memory utilization of the mongos node.
    Network Monitoring
    Private Inbound Traffic
    netout
    Bytes
    Number of bytes in the traffic inbound to the mongos node.
    Private Outbound Traffic
    netin
    Bytes
    Number of bytes in the traffic outbound from the mongos node.
    Latency Monitoring
    Average Latency of All Requests
    node_avg_all_request_delay
    ms
    Average latency of all requests received by the mongos node.
    Average Update Delay
    node_avg_update_delay
    ms
    Average latency of update requests on the mongos node.
    Average Insertion Delay
    replicaset_node
    ms
    Average latency of insertion requests on the mongos node.
    Average Read Latency
    node_avg_read_delay
    ms
    Average latency of read requests on the mongos node.
    Average Latency of Aggregate Requests
    node_avg_aggregate_delay
    ms
    Average latency of aggregate requests on the mongos node.
    Average Count Delay
    node_avg_count_delay
    ms
    Average latency of count requests on the mongos node.
    Average getMore Delay
    node_avg_getmore_delay
    ms
    Average latency of getMore requests on the mongos node.
    Average Deletion Delay
    node_avg_delete_delay
    ms
    Average latency of deletion requests on the mongos node.
    Average Command Latency
    node_avg_command_delay
    ms
    Average latency of command requests on the mongos node other than INSERT, UPDATE, DELETE, and QUERY requests.
    10-50 ms
    10 ms
    -
    Number of requests per second with an execution time between 10 and 50 ms.
    50-100 ms
    50 ms
    -
    Number of requests per second with an execution time between 50 and 100 ms.
    100 ms
    100 ms
    -
    Number of requests per second with an execution time of more than 100 ms.
    Request Monitoring
    Total Requests
    qps
    Counts/sec
    Total number of requests on the mongos node per second.
    Insert Requests
    inserts
    Counts/sec
    Number of insertion requests on the mongos node per second.
    Read Requests
    reads
    Counts/sec
    Number of read requests on the mongos node per second.
    Update Requests
    updates
    Counts/sec
    Number of update requests on the mongos node per second.
    Deletion Requests
    deletes
    Counts/sec
    Number of deletion requests on the mongos node per second.
    Count Requests
    counts
    Counts/sec
    Number of count requests received by the mongos node per second.
    getMore Requests
    getmores
    Counts/sec
    Number of getMore requests received by the mongos node per second.
    Aggregate Requests
    aggregates
    Counts/sec
    Number of aggregate requests in the mongos node per second.
    Command Requests
    commands
    Counts/sec
    Number of command requests received by the mongos node per second other than INSERT, UPDATE, DELETE, and QUERY requests.
    Request Count
    Total requests
    node_success
    -
    Total number of requests received by the mongos node.
    Insert Requests
    node_inserts
    -
    Number of insertion requests received by the mongos node.
    Read Requests
    node_reads
    -
    Number of read requests received by the mongos node.
    Update Requests
    node_updates
    -
    Number of update requests received by the mongos node.
    Delete Requests
    node_deletes
    -
    Number of deletion requests received by the mongos node.
    Count Requests
    node_counts
    -
    Number of count requests received by the mongos node.
    getMore Requests
    node_getmores
    -
    Number of getMore requests received by the mongos node.
    Aggregate Requests
    node_aggregates
    -
    Number of aggregate requests received by the mongos node.
    Command Requests
    node_commands
    -
    Number of command requests received by the mongos node other than INSERT, UPDATE, DELETE, and QUERY requests.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support