手册
MongoDB 指标

Mongodb 指标

注:指标后面有的标志,表示该平台提供了预定义图表。

描述指标
当前连接数MegaEasemongodb-connections-current-metric
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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,否则不等于0MegaEasemongodb-repl-lag-metric
Datadogmongodb.optim.replication_lag
Prometheus 不支持
Telegraf mongodb_repl_lag
MegaEase Dashboard
- mongodb-repl-lag-cardinality-metric
读取锁队列的长度MegaEasemongodb-queued-reads-metric
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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
Datadogmongodb.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不支持
Datadogmongodb.metrics.getlasterror.wtime.numps
Prometheus mongodb_mongod_metrics_get_last_error_wtime_num_total
由于 wtimeout 阈值而导致的 getLastError 超时写入关注度操作的每秒次数MegaEase不支持
Datadogmongodb.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不支持
Datadogmongodb.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不支持
Datadogmongodb.replset.health
Prometheus 不支持
oplog(操作日志)的总大小MegaEase不支持
Datadogmongodb.oplog.logsizemb
Prometheus 不支持
oplog(操作日志)使用的总空间大小MegaEase不支持
Datadogmongodb.oplog.usedsizemb
Prometheus 不支持
主节点上写入操作与次要节点上副本之间的延迟。仅在主节点上计算,并使用“member”标记MegaEase不支持
Datadogmongodb.replset.optime_lag
Prometheus 不支持
所有用户的活跃会话数MegaEase不支持
Datadogmongodb.sessions.count
Prometheus mongodb_mongod_wiredtiger_session_open_sessions_total