tencent cloud

Feedback

Monitoring Feature

Last updated: 2022-08-31 17:09:57

    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 days 1 hour 93 days
    0–1 days 1 day 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

    Types of Instances 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

    Instance

    DimensionMonitoring Metric NameParameterUnitDescription
    CPU Maximum mongod CPU utilizationmongod_max_cpu_usage%Maximum CPU utilization among all mongod nodes in the cluster.
    Average mongod CPU utilizationmonogd_avg_cpu_usage%Average CPU utilization of all mongod nodes in the cluster.
    Maximum mongos CPU utilizationmonogs_max_cpu_usage%Maximum CPU utilization among all mongos nodes in the sharded cluster.
    Average mongos CPU utilizationmonogs_avg_cpu_usage%Average CPU utilization of all mongos nodes in the sharded cluster.
    Memory Maximum mongod memory utilizationmongod_max_mem_usage%Maximum memory utilization among all mongod nodes in the cluster.
    Average mongod memory utilizationmongod_avg_mem_usage%Average memory utilization of all mongod nodes in the cluster.
    Maximum mongos memory utilizationmongos_max_mem_usage%Maximum memory utilization among all mongos nodes in the sharded cluster.
    Average mongos memory utilizationmongos_avg_mem_usage%Average memory utilization of all mongos nodes in the sharded cluster.
    Disk Storage space utilizationdisk_usage%Proportion of the used disk space to the disk space applied for.
    Network Connectionscluster_conn-Number of TCP connections to the instance.
    Connection percentageconnper%Proportion of current connections to maximum connections of the cluster.
    Inbound trafficcluster_viewBytesNumber of bytes in the traffic inbound to the cluster.
    Outbound trafficcluster_netout/td>BytesNumber of bytes in the traffic outbound from the cluster.
    Latency Average request latencyavg_all_request_delay
    msAverage execution latency of all requests in the cluster.
    Average update latencyavg_update_delaymsAverage latency of update requests in the cluster.
    Average insertion latencyavg_insert_delaymsAverage latency of insertion requests in the cluster.
    Average read latencyavg_read_delaymsAverage latency of read requests in the cluster.
    Average aggregate latencyavg_aggregate_delaymsAverage latency of aggregate requests in the cluster.
    Average count latencyavg_count_delaymsAverage latency of count requests in the cluster.
    Average getMore latencyavg_getmore_delaymsAverage latency of getMore requests in the cluster.
    Average deletion latencyavg_delete_delaymsAverage latency of deletion requests in the cluster.
    Average command latencyavg_command_delaymsAverage latency of command requests in the cluster other than `insert`, `update`, `delete`, and `query` requests.
    10–50 ms10 ms-Number of requests with an execution time between 10 and 50 ms.
    50–100 ms50 ms-Number of requests with an execution time between 50 and 100 ms.
    100 ms100 ms- Number of requests with an execution time of more than 100 ms.
    Request Total requestssuccess_per_secondCount/secNumber of requests successfully executed in the cluster per second.
    Insertion requestsinsert_per_secondCount/secNumber of insertion requests executed in the cluster per second.
    Read requestsread_per_secondCount/secNumber of read requests executed in the cluster per second.
    Update requestsupdate_per_secondCount/secNumber of update requests executed in the cluster per second.
    Deletion requestsdelete_per_secondCount/secNumber of deletion requests executed in the cluster per second.
    Count requestscount_per_secondCount/secNumber of count requests received by the cluster per second.
    getMore requestsgetmore_per_secondCount/secNumber of getMore requests received by the cluster per second.
    Aggregate requestsaggregate_per_secondCount/secNumber of aggregate requests in the cluster per second.
    Command requestscommand_per_second Count/secNumber of command requests received by the cluster per second other than `insert`, `update`, `delete`, and `query` requests.
    Requests Total requestsnode_success-Total number of requests in the cluster.
    Insertion requestsnode_inserts-Number of insertion requests received by the cluster.
    Read requestsnode_reads-Number of read requests received by the cluster.
    Update requestsnode_updates-Number of update requests in the cluster.
    Deletion requestsnode_deletes-Number of deletion requests in the cluster.
    Count requestsnode_counts-Number of count requests received by the cluster.
    getMore requestsnode_getmores-Number of getMore requests received by the cluster.
    Aggregate requestsnode_aggregates-Number of aggregate requests in the cluster.
    Command requestsnode_commands-Number of command requests received by the cluster other than `insert`, `update`, `delete`, and `query` requests.

    Mongod node

    DimensionMonitoring Metric NameParameterUnitDescription
    CPU CPU utilizationcpuusage%CPU utilization of the mongod node.
    Memory Memory utilizationmemusage%Memory utilization of the mongod node.
    Disk Disk space usagediskusageMBDisk capacity usage of the mongod node.
    Disk readsioreadCount/secNumber of reads on the mongod node per second.
    Disk writesiowriteCount/secNumber of writes on the mongod node per second.
    Network Inbound trafficnetoutBytesNumber of bytes in the traffic inbound to the mongod node.
    Outbound trafficnetinBytesNumber of bytes in the traffic outbound from the mongod node.
    Average request latency Average request latencynode_avg_all_requests_delaymsAverage latency of all requests received by the mongod node.
    Average update latencynode_avg_update_delaymsAverage latency of update requests on the mongod node.
    Average insertion latencynode_avg_insert_delaymsAverage latency of insertion requests on the mongod node.
    Average read delaynode_avg_read_delaymsAverage latency of read requests on the mongod node.
    Average aggregate delaynode_avg_aggregate_delaymsAverage latency of aggregate requests on the mongod node.
    Average count delaynode_avg_count_delaymsAverage latency of count requests on the mongod node.
    Average getMore delaynode_avg_getmore_delaymsAverage latency of getMore requests on the mongod node.
    Average deletion latencynode_avg_delete_delaymsAverage latency of deletion requests on the mongod node.
    Average command latencynode_avg_command_delaymsAverage latency of command requests on the mongod node.
    10–50 ms10 ms-Number of requests with an execution time between 10 and 50 ms.
    50–100 ms50 ms-Number of requests with an execution time between 50 and 100 ms.
    100 ms100 ms- Number of requests with an execution time of more than 100 ms.
    Request Total requestsnode_success_per_secondCount/secTotal number of requests on the mongod node per second.
    Insertion requestsnode_insert_per_secondCount/secNumber of insertion requests on the mongod node per second.
    Read requestsnode_read_per_secondCount/secNumber of read requests on the mongod node per second.
    Update requestsnode_update_per_secondCount/secNumber of update requests on the mongod node per second.
    Deletion requestsnode_delete_per_secondCount/secNumber of deletion requests on the mongod node per second.
    Count requestsnode_count_per_secondCount/secNumber of count requests received by the mongod node per second.
    getMore requestsnode_getmore_per_secondCount/secNumber of getMore requests received by the mongod node per second.
    Aggregate requestsnode_aggregate_per_secondCount/secNumber of aggregate requests in the mongod node per second.
    Command requestsnode_command_per_secondCount/secNumber of command requests received by the mongod node per second other than `insert`, `update`, `delete`, and `query` requests.
    Kernel Active write requestsar-Number of active write requests on the mongod node.
    Active read requestsaw-Number of active read requests on the mongod node.
    Read requests in queueqr-Length of the client read request queue on the mongod node.
    Write requests in queueqw-Length of the client write request queue on the mongod node.
    Pieces of data deleted via ttl_deleted-Number of documents deleted through TTL on the mongod node.
    TTL run timesttl_pass-Number of file deletions from the TTL collection performed by the backend process.
    Active sessionsactive_session-Number of active sessions on the node.
    Oplog retention periodnode_oplog_reserved_timeHourOplog retention period.
    Primary/Replica delaynode_slavedelaysDelay time between the primary and replica nodes.
    Cache hit ratereplicaset_node%Cache hit rate of the current cluster.
    Cache utilizationnode_cache_used%Percentage of the used cache to the total cache space.
    Dirty cache percentagenode_cache_dirty%Percentage of the size of dirty data in the cache to the total cache space.
    Requests Total requestsnode_success-Total number of requests in the cluster.
    Insertion requestsnode_inserts-Number of insertion requests in the cluster.
    Read requestsnode_reads-Number of read requests in the cluster.
    Update requestsreplicaset_node-Number of update requests in the cluster.
    Deletion requestsnode_deletes-Number of deletion requests in the cluster.
    Count requestsnode_counts-Number of count requests received by the cluster.
    getMore requestsnode_getmores-Number of getMore requests received by the cluster.
    Aggregate requestsnode_aggregates-Number of aggregate requests in the cluster.
    Command requestsnode_commands-Number of command requests received by the cluster other than `insert`, `update`, `delete`, and `query` requests.

    Mongos node (sharded cluster)

    DimensionMonitoring Metric NameParameterUnitDescription
    CPU CPU utilizationcpuusage%CPU utilization of the mongos node.
    Memory Memory utilizationmemusage%Memory utilization of the mongos node.
    Network Private network inbound trafficnetinBytesNumber of bytes in the traffic inbound to the mongos node.
    Private network outbound trafficnetoutBytesNumber of bytes in the traffic outbound from the mongos node.
    Latency Average request latencynode_avg_all_request_delaymsAverage latency of all requests received by the mongos node.
    Average update latencynode_avg_update_delaymsAverage latency of update requests on the mongos node.
    Average insertion latencyreplicaset_nodemsAverage latency of insertion requests on the mongos node.
    Average read delaynode_avg_read_delaymsAverage latency of read requests on the mongos node.
    Average aggregate delaynode_avg_aggregate_delaymsAverage latency of aggregate requests on the mongos node.
    Average count delaynode_avg_count_delaymsAverage latency of count requests on the mongos node.
    Average getMore delaynode_avg_getmore_delaymsAverage latency of getMore requests on the mongos node.
    Average deletion latencynode_avg_delete_delaymsAverage latency of deletion requests on the mongos node.
    Average command latencynode_avg_command_delaymsAverage latency of command requests on the mongos node other than `insert`, `update`, `delete`, and `query` requests.
    10–50 ms10 ms-Number of requests per second with an execution time between 10 and 50 ms.
    50–100 ms50 ms-Number of requests per second with an execution time between 50 and 100 ms.
    100 ms100 ms- Number of requests per second with an execution time of more than 100 ms.
    Request Total requestsqpsCount/secTotal number of requests on the mongos node per second.
    Insertion requestsinsertsCount/secNumber of insertion requests on the mongos node per second.
    Read requestsreadsCount/secNumber of read requests on the mongos node per second.
    Update requestsupdatesCount/secNumber of update requests on the mongos node per second.
    Deletion requestsdeletesCount/secNumber of deletion requests on the mongos node per second.
    Count requestscountsCount/secNumber of count requests received by the mongos node per second.
    getMore requestsgetmoresCount/secNumber of getMore requests received by the mongos node per second.
    Aggregate requestsaggregatesCount/secNumber of aggregate requests in the mongos node per second.
    Command requestscommandsCount/secNumber of command requests received by the mongos node per second other than `insert`, `update`, `delete`, and `query` requests.
    Requests Total requests
    node_success-Total number of requests received by the mongos node.
    Insertion 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.
    Deletion requestsnode_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 requestsnode_aggregates-Number of aggregate requests received by the mongos node.
    Command requestsnode_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