Mongodb 指标
- Prometheus 插件: mongodb_exporter (opens in a new tab)
- Prometheus 预定义图表: Grafana Mongodb Overview (opens in a new tab)
注:指标后面有的标志,表示该平台提供了预定义图表。
描述 | 指标 |
---|---|
当前连接数 | MegaEasemongodb-connections-current-metric Datadog mongodb.connections.current Prometheus mongodb_mongod_connections Telegraf mongodb_connections_current MegaEase Dashboard - mongodb-connections-current-max-metric - mongodb-connections-current-min-metric - mongodb-connections-current-sum-metric - mongodb-connections-current-avg-metric |
"find"操作的计数 | MegaEasemongodb-find-command-total-metric Datadog 不支持 Prometheus mongodb_ss_metrics_commands_find_total Telegraf mongodb_find_command_total MegaEase Dashboard - mongodb-find-command-total-max-metric - mongodb-find-command-total-min-metric - mongodb-find-command-total-ratio-metric - mongodb-find-command-total-sum-metric |
"find_and_modify"操作的计数 | MegaEasemongodb-find-and-modify-command-total-metric Datadog mongodb.metrics.commands.findandmodify.total Prometheus mongodb_ss_metrics_commands_findAndModify_total Telegraf mongodb_find_and_modify_command_total MegaEase Dashboard - mongodb-find-and-modify-command-total-min-metric - mongodb-find-and-modify-command-total-max-metric - mongodb-find-and-modify-command-total-ratio-metric - mongodb-find-and-modify-command-total-sum-metric |
"delete"操作的计数 | MegaEasemongodb-delete-command-total-metric Datadog mongodb.metrics.commands.delete.total Prometheus mongodb_ss_metrics_commands_delete_total Telegraf mongodb_delete_command_total MegaEase Dashboard - mongodb-delete-command-total-max-metric - mongodb-delete-command-total-min-metric - mongodb-delete-command-total-ratio-metric - mongodb-delete-command-total-sum-metric |
"count"操作的计数 | MegaEasemongodb-count-command-total-metric Datadog mongodb.metrics.commands.count.total Prometheus mongodb_ss_metrics_commands_count_total Telegraf mongodb_count_command_total MegaEase Dashboard - mongodb-count-command-total-sum-metric - mongodb-count-command-total-max-metric - mongodb-count-command-total-ratio-metric - mongodb-count-command-total-min-metric |
"distinct"操作的计数 | MegaEasemongodb-distinct-command-total-metric Datadog 不支持 Prometheus mongodb_ss_metrics_commands_distinct_total Telegraf mongodb_distinct_command_total MegaEase Dashboard - mongodb-distinct-command-total-min-metric - mongodb-distinct-command-total-max-metric - mongodb-distinct-command-total-ratio-metric - mongodb-distinct-command-total-sum-metric |
"getMores"操作的计数 | MegaEasemongodb-get-more-command-total-metric Datadog 不支持 Prometheus mongodb_ss_metrics_commands_getMore_total Telegraf mongodb_get_more_command_total MegaEase Dashboard - mongodb-get-more-command-total-max-metric - mongodb-get-more-command-total-sum-metric - mongodb-get-more-command-total-ratio-metric - mongodb-get-more-command-total-min-metric |
"insert"操作的计数 | MegaEasemongodb-insert-command-total-metric Datadog mongodb.metrics.commands.insert.total Prometheus mongodb_ss_metrics_commands_insert_total Telegraf mongodb_insert_command_total MegaEase Dashboard - mongodb-insert-command-total-min-metric - mongodb-insert-command-total-sum-metric - mongodb-insert-command-total-max-metric - mongodb-insert-command-total-ratio-metric |
"update"操作的计数 | MegaEasemongodb-update-command-total-metric Datadog mongodb.metrics.commands.update.total Prometheus mongodb_ss_metrics_commands_update_total Telegraf mongodb_update_command_total MegaEase Dashboard - mongodb-update-command-total-sum-metric - mongodb-update-command-total-ratio-metric - mongodb-update-command-total-max-metric - mongodb-update-command-total-min-metric |
"aggregate"操作的计数 | MegaEasemongodb-aggregate-command-total-metric Datadog 不支持 Prometheus mongodb_ss_metrics_commands_aggregate_total Telegraf mongodb_aggregate_command_total MegaEase Dashboard - mongodb-aggregate-command-total-ratio-metric - mongodb-aggregate-command-total-max-metric - mongodb-aggregate-command-total-min-metric - mongodb-aggregate-command-total-sum-metric |
延迟小于微秒的读取次数 | MegaEasemongodb-latency-reads-count-metric Datadog 不支持 Prometheus 不支持 Telegraf mongodb_latency_reads_count MegaEase Dashboard - mongodb-latency-reads-count-min-metric - mongodb-latency-reads-count-max-metric - mongodb-latency-reads-count-ratio-metric - mongodb-latency-reads-count-sum-metric |
延迟小于微秒的写入次数 | MegaEasemongodb-latency-writes-count-metric Datadog 不支持 Prometheus 不支持 Telegraf mongodb_latency_writes_count MegaEase Dashboard - mongodb-latency-writes-count-ratio-metric - mongodb-latency-writes-count-max-metric - mongodb-latency-writes-count-sum-metric - mongodb-latency-writes-count-min-metric |
读取操作的延迟,单位为微秒 | MegaEasemongodb-latency-reads-metric Datadog mongodb.oplatencies.reads.latency Prometheus mongodb_ss_opLatencies_latency{op_type="reads"} Telegraf mongodb_latency_reads MegaEase Dashboard - mongodb-latency-reads-ratio-metric - mongodb-latency-reads-avg-metric - mongodb-latency-reads-max-metric - mongodb-latency-reads-min-metric |
写入操作的延迟,单位为微秒 | MegaEasemongodb-latency-writes-metric Datadog mongodb.oplatencies.writes.latency Prometheus mongodb_ss_opLatencies_latency{op_type="writes"} Telegraf mongodb_latency_writes MegaEase Dashboard - mongodb-latency-writes-ratio-metric - mongodb-latency-writes-max-metric - mongodb-latency-writes-avg-metric - mongodb-latency-writes-min-metric |
副本集的复制延迟,如果副本节点与主节点同步,则该指标的值为 0,否则不等于0 | MegaEasemongodb-repl-lag-metric Datadog mongodb.optim.replication_lag Prometheus 不支持 Telegraf mongodb_repl_lag MegaEase Dashboard - mongodb-repl-lag-cardinality-metric |
读取锁队列的长度 | MegaEasemongodb-queued-reads-metric Datadog mongodb.globallock.currentqueue.readers Prometheus mongodb_mongod_global_lock_current_queue{type="reader"} Telegraf mongodb_queued_reads MegaEase Dashboard - mongodb-queued-reads-max-metric - mongodb-queued-reads-sum-metric - mongodb-queued-reads-min-metric |
写锁队列的长度 | MegaEasemongodb-queued-writes-metric Datadog mongodb.globallock.currentqueue.writers Prometheus mongodb_mongod_global_lock_current_queue{type="writer"} Telegraf mongodb_queued_writes MegaEase Dashboard - mongodb-queued-writes-sum-metric - mongodb-queued-writes-min-metric - mongodb-queued-writes-max-metric |
数据库进程当前使用的内存量 | MegaEasemongodb-resident-megabytes-metric Datadog mongodb.stats.datasize Prometheus mongodb_ss_mem_resident Telegraf mongodb_resident_megabytes MegaEase Dashboard - mongodb-resident-megabytes-max-metric |
该数据库中所有数据的总大小,包括填充因子 | MegaEasemongodb-data-size-metric Datadog 不支持 Prometheus mongodb_mongod_db_data_size_bytes Telegraf mongodb_data_size MegaEase Dashboard - mongodb-data-size-max-metric |
每秒需要进行磁盘操作的页面错误次数 | MegaEasemongodb-page-faults-metric Datadog mongodb.extra_info.page_faultsps Prometheus mongodb_mongod_extra_info_page_faults_total Telegraf mongodb_page_faults MegaEase Dashboard - mongodb-page-faults-max-metric |
正在使用的游标数量 | MegaEasemongodb-cursor-total-count-metric Datadog mongodb.metrics.cursor.open.total Prometheus mongodb_mongod_metrics_cursor_open{state="total"} Telegraf mongodb_cursor_total_count MegaEase Dashboard - mongodb-cursor-total-count-sum-metric - mongodb-cursor-total-count-max-metric - mongodb-cursor-total-count-min-metric |
被固定的游标数量,游标可以被固定在内存中,以便在多次迭代查询结果集时可以快速访问 | MegaEasemongodb-cursor-pinned-count-metric Datadog mongodb.metrics.cursor.open.pinned Prometheus mongodb_mongod_metrics_cursor_open{state="pinned"} Telegraf mongodb_cursor_pinned_count MegaEase Dashboard - mongodb-cursor-pinned-count-sum-metric - mongodb-cursor-pinned-count-min-metric - mongodb-cursor-pinned-count-max-metric |
已经超时但未关闭的游标数量 | MegaEasemongodb-cursor-timed-out-count-metric Datadog mongodb.metrics.cursor.timedoutps Prometheus mongodb_mongod_metrics_cursor_timed_out_total Telegraf mongodb_cursor_timed_out_count MegaEase Dashboard - mongodb-cursor-timed-out-count-min-metric - mongodb-cursor-timed-out-count-max-metric - mongodb-cursor-timed-out-count-sum-metric |
未设置超时的游标数量 | MegaEasemongodb-cursor-no-timeout-count-metric Datadog mongodb.metrics.cursor.open.notimeout Prometheus mongodb_mongod_metrics_cursor_open{state="noTimeout"} Telegraf mongodb_cursor_no_timeout_count MegaEase Dashboard - mongodb-cursor-no-timeout-count-min-metric - mongodb-cursor-no-timeout-count-max-metric - mongodb-cursor-no-timeout-count-sum-metric |
删除的文档数量计数 | MegaEasemongodb-document-deleted-metric Datadog mongodb.metrics.document.deletedps Prometheus mongodb_mongod_metrics_document_total{state="deleted"} Telegraf mongodb_document_deleted MegaEase Dashboard - mongodb-document-deleted-ratio-metric - mongodb-document-deleted-min-metric - mongodb-document-deleted-max-metric - mongodb-document-deleted-sum-metric |
插入的文档数量计数 | MegaEasemongodb-document-inserted-metric Datadog mongodb.metrics.document.insertedps Prometheus mongodb_mongod_metrics_document_total{state="inserted"} Telegraf mongodb_document_inserted MegaEase Dashboard - mongodb-document-inserted-sum-metric - mongodb-document-inserted-ratio-metric - mongodb-document-inserted-max-metric - mongodb-document-inserted-min-metric |
返回文件的文档数量计数 | MegaEasemongodb-document-returned-metric Datadog mongodb.metrics.document.returnedps Prometheus mongodb_mongod_metrics_document_total{state="returned"} Telegraf mongodb_document_returned MegaEase Dashboard - mongodb-document-returned-max-metric - mongodb-document-returned-min-metric - mongodb-document-returned-ratio-metric - mongodb-document-returned-sum-metric |
更新的文档数量计数 | MegaEasemongodb-document-updated-metric Datadog mongodb.metrics.document.updatedps Prometheus mongodb_mongod_metrics_document_total{state="updated"} Telegraf mongodb_document_updated MegaEase Dashboard - mongodb-document-updated-min-metric - mongodb-document-updated-max-metric - mongodb-document-updated-sum-metric - mongodb-document-updated-ratio-metric |
从网络的外部流入系统的总字节数 | MegaEasemongodb-net-in-bytes-count-metric Datadog mongodb.network.bytesinps Prometheus mongodb_ss_network_bytesIn Telegraf mongodb_net_in_bytes_count MegaEase Dashboard - mongodb-net-in-bytes-count-sum-metric - mongodb-net-in-bytes-count-ratio-metric - mongodb-net-in-bytes-count-max-metric - mongodb-net-in-bytes-count-min-metric |
从系统流出网络的总字节数 | MegaEasemongodb-net-out-bytes-count-metric Datadog mongodb.network.bytesoutps Prometheus mongodb_ss_network_bytesOut Telegraf mongodb_net_out_bytes_count MegaEase Dashboard - mongodb-net-out-bytes-count-sum-metric - mongodb-net-out-bytes-count-min-metric - mongodb-net-out-bytes-count-max-metric - mongodb-net-out-bytes-count-ratio-metric |
在执行操作过程中抛出的 "message assertion" 异常的数量。这些异常通常表示代码逻辑上的错误或者程序运行环境出现的问题 | MegaEasemongodb-assert-msg-by-node-name-metric Datadog mongodb.asserts.msgps Prometheus mongodb_asserts_total{type="msg"} Telegraf mongodb_assert_msg MegaEase Dashboard - mongodb-assert-msg-ratio-metric - mongodb-assert-msg-max-metric - mongodb-assert-msg-sum-metric - mongodb-assert-msg-min-metric |
在执行操作过程中抛出的 "regular assertion" 异常的数量 | MegaEasemongodb-assert-regular-metric Datadog mongodb.asserts.regularps Prometheus mongodb_asserts_total{type="regular"} Telegraf mongodb_assert_regular MegaEase Dashboard - mongodb-assert-regular-sum-metric - mongodb-assert-regular-max-metric - mongodb-assert-regular-ratio-metric - mongodb-assert-regular-min-metric |
在执行操作过程中抛出的 "assertion rollover" 异常的数量 | MegaEasemongodb-assert-rollovers-metric Datadog mongodb.asserts.rolloversps Prometheus mongodb_asserts_total{type="rollovers"} Telegraf mongodb_assert_rollovers MegaEase Dashboard - mongodb-assert-rollovers-ratio-metric - mongodb-assert-rollovers-sum-metric - mongodb-assert-rollovers-max-metric - mongodb-assert-rollovers-min-metric |
在执行操作过程中抛出的 "user assertion" 异常的数量 | MegaEasemongodb-assert-user-metric Datadog mongodb.asserts.userps Prometheus mongodb_asserts_total{type="user"} Telegraf mongodb_assert_user MegaEase Dashboard - mongodb-assert-user-sum-metric - mongodb-assert-user-min-metric - mongodb-assert-user-max-metric - mongodb-assert-user-ratio-metric |
在执行操作过程中抛出的 "warning assertion" 异常的数量 | MegaEasemongodb-assert-warning-metric Datadog mongodb.asserts.warningps Prometheus mongodb_asserts_total{type="warning"} Telegraf mongodb_assert_warning MegaEase Dashboard - mongodb-assert-warning-ratio-metric - mongodb-assert-warning-sum-metric - mongodb-assert-warning-max-metric - mongodb-assert-warning-min-metric |
在 MongoDB 中使用 db.runCommand() 或 db.$cmd.findOne() 等执行操作的计数 | MegaEasemongodb-commands-metric Datadog mongodb.opcounters.commandps Prometheus mongodb_ss_metrics_commands Telegraf mongodb_commands MegaEase Dashboard - mongodb-commands-max-metric - mongodb-commands-ratio-metric - mongodb-commands-min-metric - mongodb-commands-sum-metric |
可用连接的计数 | MegaEasemongodb-connections-available-metric Datadog mongodb.connections.availaable Prometheus mongodb_connections{state="available"} Telegraf mongodb_connections_available MegaEase Dashboard - mongodb-connections-available-sum-metric - mongodb-connections-available-max-metric - mongodb-connections-available-avg-metric - mongodb-connections-available-min-metric |
执行"delete"操作的次数 | MegaEasemongodb-deletes-metric Datadog mongodb.opcounters.deleteps Prometheus 不支持 Telegraf mongodb_deletes MegaEase Dashboard - mongodb-deletes-ratio-metric - mongodb-deletes-min-metric - mongodb-deletes-max-metric - mongodb-deletes-sum-metric |
执行"getMores"操作的次数 | MegaEasemongodb-getmores-metric Datadog mongodb.opcounters.getmoreps Prometheus 不支持 Telegraf mongodb_getmores MegaEase Dashboard - mongodb-getmores-max-metric - mongodb-getmores-min-metric - mongodb-getmores-ratio-metric - mongodb-getmores-sum-metric |
执行"insert"操作的次数 | MegaEasemongodb-inserts-metric Datadog mongodb.opcounters.insertps Prometheus 不支持 Telegraf mongodb_inserts MegaEase Dashboard - mongodb-inserts-min-metric - mongodb-inserts-sum-metric - mongodb-inserts-max-metric - mongodb-inserts-ratio-metric |
执行"querie"操作的次数 | MegaEasemongodb-queries-metric Datadog mongodb.opcounters.queryps Prometheus 不支持 Telegraf mongodb_queries MegaEase Dashboard - mongodb-queries-max-metric - mongodb-queries-min-metric - mongodb-queries-ratio-metric - mongodb-queries-sum-metric |
执行"update"操作的次数 | MegaEasemongodb-updates-metric Datadog mongodb.opcounters.updateps Prometheus 不支持 Telegraf mongodb_updates MegaEase Dashboard - mongodb-updates-sum-metric - mongodb-updates-min-metric - mongodb-updates-max-metric - mongodb-updates-ratio-metric |
当前的读取锁的数量 | MegaEasemongodb-read-lock-count-metric Datadog mongodb.usage.readlock.count Prometheus mongodb_mongod_global_lock_current_queue Telegraf mongodb_read_lock_count MegaEase Dashboard - mongodb-read-lock-count-min-metric - mongodb-read-lock-count-sum-metric - mongodb-read-lock-count-max-metric |
当前的写锁的数量 | MegaEasemongodb-write-lock-count-metric Datadog mongodb.usage.writelock.count Prometheus mongodb_mongod_global_lock_current_queue Telegraf mongodb_write_lock_count MegaEase Dashboard - mongodb-write-lock-count-sum-metric - mongodb-write-lock-count-min-metric - mongodb-write-lock-count-max-metric |
副本集执行的命令操作次数 | MegaEasemongodb-repl-commands-metric Datadog mongodb.opcountersrepl.commandps Prometheus mongodb_mongod_op_counters_repl_total{type="command"} Telegraf mongodb_repl_commands MegaEase Dashboard - mongodb-repl-commands-sum-metric - mongodb-repl-commands-ratio-metric - mongodb-repl-commands-min-metric - mongodb-repl-commands-max-metric |
副本集执行的"delete"命令操作次数 | MegaEasemongodb-repl-deletes-metric Datadog mongodb.opcountersrepl.deleteps Prometheus mongodb_mongod_op_counters_repl_total{type="delete"} Telegraf mongodb_repl_deletes MegaEase Dashboard - mongodb-repl-deletes-min-metric - mongodb-repl-deletes-max-metric - mongodb-repl-deletes-ratio-metric - mongodb-repl-deletes-sum-metric |
副本集执行的"getMores"命令操作次数 | MegaEasemongodb-repl-getmores-metric Datadog mongodb.opcountersrepl.getmoreps Prometheus mongodb_mongod_op_counters_repl_total{type="getmore"} Telegraf mongodb_repl_getmores MegaEase Dashboard - mongodb-repl-getmores-sum-metric - mongodb-repl-getmores-max-metric - mongodb-repl-getmores-min-metric - mongodb-repl-getmores-ratio-metric |
副本集执行的插入命令操作次数 | MegaEasemongodb-repl-inserts-metric Datadog mongodb.opcountersrepl.insertps Prometheus mongodb_mongod_op_counters_repl_total{type="insert"} Telegraf mongodb_repl_inserts MegaEase Dashboard - mongodb-repl-inserts-max-metric - mongodb-repl-inserts-ratio-metric - mongodb-repl-inserts-sum-metric - mongodb-repl-inserts-min-metric |
副本集执行的查询命令操作次数 | MegaEasemongodb-repl-queries-metric Datadog mongodb.opcountersrepl.queryps Prometheus mongodb_mongod_op_counters_repl_total{type="query"} Telegraf mongodb_repl_queries MegaEase Dashboard - mongodb-repl-queries-max-metric - mongodb-repl-queries-min-metric - mongodb-repl-queries-ratio-metric - mongodb-repl-queries-sum-metric |
副本集执行的修改命令操作次数 | MegaEasemongodb-repl-updates-metric Datadog mongodb.opcountersrepl.updateps Prometheus mongodb_mongod_op_counters_repl_total{type="update"} Telegraf mongodb_repl_updates MegaEase Dashboard - mongodb-repl-updates-max-metric - mongodb-repl-updates-ratio-metric - mongodb-repl-updates-sum-metric - mongodb-repl-updates-min-metric |
执行扫描文档操作的总次数 | MegaEasemongodb-total-docs-scanned-metric Datadog mongodb.stats.objects Prometheus mongodb_mongod_metrics_query_executor_total Telegraf mongodb_total_docs_scanned MegaEase Dashboard - mongodb-total-docs-scanned-sum-metric - mongodb-total-docs-scanned-min-metric - mongodb-total-docs-scanned-max-metric - mongodb-total-docs-scanned-ratio-metric |
执行扫描键值操作的总次数 | MegaEasemongodb-total-keys-scanned-metric Datadog 不支持 Prometheus 不支持 Telegraf mongodb_total_keys_scanned MegaEase Dashboard - mongodb-total-keys-scanned-ratio-metric - mongodb-total-keys-scanned-min-metric - mongodb-total-keys-scanned-max-metric - mongodb-total-keys-scanned-sum-metric |
数据库中执行的 TTL 删除操作的次数 | MegaEasemongodb-ttl-deletes-metric Datadog mongodb.metrics.ttl.deleteddocumentsps Prometheus mongodb_mongos_metrics_ttl_deleted_documents_total mongodb_mongod_metrics_ttl_deleted_documents_total Telegraf mongodb_ttl_deletes MegaEase Dashboard - mongodb-ttl-deletes-max-metric - mongodb-ttl-deletes-ratio-metric - mongodb-ttl-deletes-min-metric - mongodb-ttl-deletes-sum-metric |
数据库中 TTL 索引扫描操作的次数 | MegaEasemongodb-ttl-passes-metric Datadog mongodb.merics.ttl.passesps Prometheus mongodb_ss_metrics_ttl_passes Telegraf mongodb_ttl_passes MegaEase Dashboard - mongodb-ttl-passes-min-metric - mongodb-ttl-passes-max-metric - mongodb-ttl-passes-sum-metric - mongodb-ttl-passes-ratio-metric |
当前正在进行的 MongoDB 读操作的数量 | MegaEasemongodb-active-reads-metric Datadog mongodb.globallock.activeclients.readers Prometheus mongodb_ss_globalLock_activeClients_readers Telegraf mongodb_active_reads MegaEase Dashboard - mongodb-active-reads-sum-metric - mongodb-active-reads-min-metric - mongodb-active-reads-max-metric |
当前正在进行的 MongoDB 写操作的数量 | MegaEasemongodb-active-writes-metric Datadog mongodb.globallock.activeclients.writers Prometheus mongodb_ss_globalLock_activeClients_writers Telegraf mongodb_active_writes MegaEase Dashboard - mongodb-active-writes-max-metric - mongodb-active-writes-sum-metric - mongodb-active-writes-min-metric |
当前可用读锁的数量 | MegaEasemongodb-available-reads-metric Datadog 不支持 Prometheus 不支持 Telegraf mongodb_available_reads MegaEase Dashboard - mongodb-available-reads-sum-metric - mongodb-available-reads-min-metric - mongodb-available-reads-max-metric |
当前可用写锁的数量 | MegaEasemongodb-available-writes-metric Datadog 不支持 Prometheus 不支持 Telegraf mongodb_available_writes MegaEase Dashboard - mongodb-available-writes-sum-metric - mongodb-available-writes-max-metric - mongodb-available-writes-min-metric |
MongoDB 实例创建的连接总数 | MegaEasemongodb-connections-total-created-metric Datadog mongodb.connections.totalcreated Prometheus mongodb_connections{state="totalCreated"} Telegraf mongodb_connections_total_created MegaEase Dashboard - mongodb-connections-total-created-ratio-metric - mongodb-connections-total-created-min-metric - mongodb-connections-total-created-sum-metric - mongodb-connections-total-created-max-metric |
MongoDB 实例中执行扫描和排序操作的次数 | MegaEasemongodb-operation-scan-and-order-metric Datadog mongodb.metrics.operation.scanandorderps Prometheus mongodb_mongod_metrics_operation_total{state="scanAndOrder"} Telegraf mongodb_operation_scan_and_order MegaEase Dashboard - mongodb-operation-scan-and-order-ratio-metric - mongodb-operation-scan-and-order-min-metric - mongodb-operation-scan-and-order-sum-metric - mongodb-operation-scan-and-order-max-metric |
MongoDB 实例中写冲突的次数 | MegaEasemongodb-operation-write-conflicts-metric Datadog mongodb.metrics.operation.writeconflictsps Prometheus mongodb_mongod_metrics_operation_total{state="writeConflicts"} Telegraf mongodb_operation_write_conflicts MegaEase Dashboard - mongodb-operation-write-conflicts-min-metric - mongodb-operation-write-conflicts-sum-metric - mongodb-operation-write-conflicts-max-metric - mongodb-operation-write-conflicts-ratio-metric |
Wiredtiger脏数据在缓存中所占的比例。脏数据是指已经被修改但还没有写入到磁盘的数据 | MegaEasemongodb-percent-cache-dirty-metric Datadog mongodb.wiredtiger.cache.tracked_dirty_bytes_in_cache Prometheus mongodb_mongod_wiredtiger_cache_pages{type="dirty"}/ mongodb_mongod_wiredtiger_cache_pages{type="total"} Telegraf mongodb_percent_cache_dirty MegaEase Dashboard - mongodb-percent-cache-dirty-min-metric - mongodb-percent-cache-dirty-max-metric - mongodb-percent-cache-dirty-avg-metric |
Wiredtiger使用的缓存百分比 | MegaEasemongodb-percent-cache-used-metric Datadog 不支持 Prometheus mongodb_mongod_wiredtiger_cache_bytes{type="total"} Telegraf mongodb_percent_cache_used MegaEase Dashboard - mongodb-percent-cache-used-max-metric - mongodb-percent-cache-used-avg-metric - mongodb-percent-cache-used-min-metric |
读操作锁等待的时间最长的操作的锁等待时间 | MegaEasemongodb-top-stats-read-lock-time-metric Datadog mongodb.usage.readlock.time Prometheus mongodb_top_readLock_time Telegraf mongodb_top_stats_read_lock_time MegaEase Dashboard - mongodb-top-stats-read-lock-time-max-metric - mongodb-top-stats-read-lock-time-ratio-metric - mongodb-top-stats-read-lock-time-avg-metric - mongodb-top-stats-read-lock-time-min-metric |
由于服务器启动(已弃用),读取锁的数量 | MegaEasemongodb-top-stats-write-lock-count-metric Datadog mongodb.usage.readlock.count Prometheus mongodb_top_readLock_count Telegraf mongodb_top_stats_write_lock_count MegaEase Dashboard - mongodb-top-stats-write-lock-count-min-metric - mongodb-top-stats-write-lock-count-max-metric - mongodb-top-stats-write-lock-count-avg-metric - mongodb-top-stats-write-lock-count-ratio-metric |
写操作锁等待的时间最长的操作的锁等待时间 | MegaEasemongodb-top-stats-write-lock-time-metric Datadog mongodb.usage.writelock.time Prometheus mongodb_top_writeLock_time Telegraf mongodb_top_stats_write_lock_time MegaEase Dashboard - mongodb-top-stats-write-lock-time-avg-metric - mongodb-top-stats-write-lock-time-max-metric - mongodb-top-stats-write-lock-time-ratio-metric - mongodb-top-stats-write-lock-time-min-metric |
由于服务器启动(弃用),写锁的数量 | MegaEasemongodb-top-stats-write-lock-count-metric Datadog mongodb.usage.writelock.count Prometheus mongodb_top_writeLock_count Telegraf mongodb_top_stats_write_lock_count MegaEase Dashboard - mongodb-top-stats-write-lock-count-min-metric - mongodb-top-stats-write-lock-count-max-metric - mongodb-top-stats-write-lock-count-avg-metric - mongodb-top-stats-write-lock-count-ratio-metric |
Wiredtiger创建的读取操作的计数 | MegaEasemongodb-total-tickets-reads-metric Datadog mongodb.wiredtiger.concurrenttransactions.read.totaltickets Prometheus mongodb_mongod_wiredtiger_concurrent_transactions_total_tickets{txn_rw="read"} Telegraf mongodb_total_tickets_reads MegaEase Dashboard - mongodb-total-tickets-reads-max-metric - mongodb-total-tickets-reads-min-metric - mongodb-total-tickets-reads-ratio-metric - mongodb-total-tickets-reads-sum-metric |
Wiredtiger创建的写入操作的计数 | MegaEasemongodb-total-tickets-writes-metric Datadog mongodb.wiredtiger.concurrenttransactions.write.totaltickets Prometheus mongodb_mongod_wiredtiger_concurrent_transactions_total_tickets{txn_rw="write"} Telegraf mongodb_total_tickets_writes MegaEase Dashboard - mongodb-total-tickets-writes-sum-metric - mongodb-total-tickets-writes-max-metric - mongodb-total-tickets-writes-min-metric - mongodb-total-tickets-writes-ratio-metric |
WiredTiger从磁盘读取到缓存中的字节数 | MegaEasemongodb-wtcache-bytes-read-into-metric Datadog mongodb.wiredtiger.cache.pages_read_into_cache Prometheus mongodb_ss_wt_cache_bytes_read_into_cache Telegraf mongodb_wtcache_bytes_read_into MegaEase Dashboard - mongodb-wtcache-bytes-read-into-ratio-metric - mongodb-wtcache-bytes-read-into-min-metric - mongodb-wtcache-bytes-read-into-sum-metric - mongodb-wtcache-bytes-read-into-max-metric |
WiredTiger从缓存中写出到磁盘的字节数 | MegaEasemongodb-wtcache-bytes-written-from-metric Datadog mongodb.wiredtiger.cache.pages_written_from_cache Prometheus mongodb_ss_wt_cache_bytes_written_from_cache Telegraf mongodb_wtcache_bytes_written_from MegaEase Dashboard - mongodb-wtcache-bytes-written-from-sum-metric - mongodb-wtcache-bytes-written-from-min-metric - mongodb-wtcache-bytes-written-from-max-metric - mongodb-wtcache-bytes-written-from-ratio-metric |
WiredTiger配置的缓存的最大字节数 | MegaEasemongodb-wtcache-max-bytes-configured-metric Datadog mongodb.wiredtiger.cache.maximum_bytes_configured Prometheus mongodb_ss_wt_cache_maximum_bytes_configured Telegraf mongodb_wtcache_max_bytes_configured MegaEase Dashboard - mongodb-wtcache-max-bytes-configured-min-metric - mongodb-wtcache-max-bytes-configured-ratio-metric - mongodb-wtcache-max-bytes-configured-sum-metric - mongodb-wtcache-max-bytes-configured-max-metric |
在指定的写入关注度(如 w)下,每秒等待一个或多个副本集成员确认写入操作的 getLastError 操作数量 | MegaEase不支持 Datadog mongodb.metrics.getlasterror.wtime.numps Prometheus mongodb_mongod_metrics_get_last_error_wtime_num_total |
由于 wtimeout 阈值而导致的 getLastError 超时写入关注度操作的每秒次数 | MegaEase不支持 Datadog mongodb.metrics.getlasterror.wtimeoutsps Prometheus rate(mongodb_mongod_metrics_get_last_error_wtimeouts_total) rate(mongodb_mongos_metrics_get_last_error_wtimeouts_total) |
mongod 花费在执行 write concern(例如 w)的 getLastError 操作上,等待一个或多个副本集成员确认写操作的时间分数(ms/s) | MegaEase不支持 Datadog mongodb.metrics.getlasterror.wtime.totalmillisps Prometheus rate(mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds) rate(mongodb_mongos_metrics_get_last_error_wtime_total_milliseconds) |
副本集的成员健康价值:如果成员启动(即1)或向下(即0),则传达 | MegaEase不支持 Datadog mongodb.replset.health Prometheus 不支持 |
oplog(操作日志)的总大小 | MegaEase不支持 Datadog mongodb.oplog.logsizemb Prometheus 不支持 |
oplog(操作日志)使用的总空间大小 | MegaEase不支持 Datadog mongodb.oplog.usedsizemb Prometheus 不支持 |
主节点上写入操作与次要节点上副本之间的延迟。仅在主节点上计算,并使用“member”标记 | MegaEase不支持 Datadog mongodb.replset.optime_lag Prometheus 不支持 |
所有用户的活跃会话数 | MegaEase不支持 Datadog mongodb.sessions.count Prometheus mongodb_mongod_wiredtiger_session_open_sessions_total |