MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License.
Prerequisites
- To monitor MongoDB, you need the credentials of the user with the roles “read” and “clusterMonitor”.
1. use admin
2. db.createUser({"user":"<username>","pwd":"<password>","roles":[{role:"read",db:"admin"},{role:"clusterMonitor",db:"admin"},{ role: "read", db: "local" }]})
- For Virtual Machines, install the Linux Agent.
Configuring the credentials
Configure the credentials in the directory /opt/opsramp/agent/conf/app.d/creds.yaml
mongodb:
- name: mongodb
user: <username>
pwd: <Password>
encoding-type: plain
labels:
key1: val1
key2: val2
Configuring the application
Virtual machine
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml
- name: mongodb
instance-checks:
service-check:
- mongod
- mongodb
process-check:
- mongodb
port-check:
- 27017
- 27018
- 27019
Docker environment
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-container-detection.yaml
- name: mongodb
container-checks:
image-check:
- mongo
port-check:
- 27017
- 27018
- 27019
Kubernetes environment
Configure the application in config.yaml
- name: mongodb
container-checks:
image-check:
- mongo
port-check:
- 27017
- 27018
- 27019
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Description |
---|---|---|---|
mongodb_asserts_msg | Asserts Msg | assertions / second | Number of message assertions raised per second |
mongodb_asserts_regular | Asserts Regular | assertions / second | Number of regular assertions raised per second |
mongodb_asserts_rollovers | Asserts Rollovers | assertions / second | Number of times the rollover counters roll over per second. The counters rollover to zero every 60 assertions |
mongodb_asserts_user | Asserts User | assertions / second | Number of user assertions raised per second |
mongodb_asserts_warning | Asserts Warning | assertions / second | Number of warnings raised per second |
mongodb_backgroundFlushing_AverageMs | Backgroundflushing Averagems | milliseconds | Average time for each flush to disk |
mongodb_backgroundFlushing_flushes | Backgroundflushing Flushes | flush / second | Number of times the database has flushed all writes to disk |
mongodb_backgroundFlushing_last_ms | Backgroundflushing Last Ms | milliseconds | Amount of time that the last flush operation took to complete |
mongodb_backgroundFlushing_total_ms | Backgroundflushing Total Ms | milliseconds | Total number of time that the MongoDB processes have spent writing ie flushing data to disk |
mongodb_connections_available | Connections Available | connections | Number of unused available incoming connections the database can provide |
mongodb_connections_current | Connections Current | connections | Number of connections to the database server from clients |
mongodb_connections_totalCreated | Connections Totalcreated | connections | Total number of connections created |
mongodb_cursors_timedOut | Cursors Timedout | cursors | Total number of cursors that have timed out since the server process started |
mongodb_cursors_totalOpen | Cursors Totalopen | cursors | Number of cursors that MongoDB is maintaining for clients |
mongodb_dbs_count | Dbs Count | items | Total number of existing databases |
mongodb_dur_commits | Dur Commits | transactions | Number of transactions written to the journal during the last journal group commit interval |
mongodb_dur_commitsInWriteLock | Dur Commitsinwritelock | commits | Count of the commits that occurred while a write lock was held |
mongodb_dur_compression | Dur Compression | fractions | Compression ratio of the data written to the journal |
mongodb_dur_earlyCommits | Dur Earlycommits | commits | Number of times MongoDB requested a commit before the scheduled journal group commit interval |
mongodb_dur_journaledMB | Dur Journaledmb | mebibytes | Amount of data written to journal during the last journal group commit interval |
mongodb_dur_timems_Commits | Dur Timems Commits | milliseconds | Amount of time spent for commits |
mongodb_dur_timems_CommitsInWriteLock | Dur Timems Commitsinwritelock | milliseconds | Amount of time spent for commits that occurred while a write lock was held |
mongodb_dur_timems_dt | Dur Timems Dt | milliseconds | Amount of time over which MongoDB collected the durtimeMS data |
mongodb_dur_timems_prepLogBuffer | Dur Timems Preplogbuffer | millisecond | Amount of time spent preparing to write to the journal |
mongodb_dur_timems_remapPrivateView | Dur Timems Remapprivateview | milliseconds | Amount of time spent remapping copyonwrite memory mapped views |
mongodb_dur_timems_writeToDataFiles | Dur Timems Writetodatafiles | milliseconds | Amount of time spent writing to data files after journaling |
mongodb_dur_timems_writeToJournal | Dur Timems Writetojournal | milliseconds | Amount of time spent writing to the journal |
mongodb_dur_writeToDataFiles | Dur Writetodatafiles | mebibytes | Amount of data written from journal to the data files during the last journal group commit interval |
mongodb_extra_info_page_faults | Extra Info Page Faults | faults | Number of page faults per second that require disk operations |
mongodb_fsync_lockCount | Fsync Lockcount | Number of fsynclocked performed on a mongo instance | |
mongodb_globalLock_activeClients_readers | Globallock Activeclients Readers | connections | Count of the active client connections performing read operations |
mongodb_globalLock_activeClients_total | Globallock Activeclients Total | connections | Total number of active client connections to the database |
mongodb_globalLock_activeClients_writers | Globallock Activeclients Writers | connections | Count of active client connections performing write operations |
mongodb_globalLock_currentQueue_readers | Globallock Currentqueue Readers | operations | Number of operations that are currently queued and waiting for the read lock |
mongodb_globalLock_currentQueue_total | Globallock Currentqueue Total | operations | Total number of operations queued waiting for the lock |
mongodb_globalLock_currentQueue_writers | Globallock Currentqueue Writers | operations | Number of operations that are currently queued and waiting for the write lock |
mongodb_globalLock_lockTime | Globallock Locktime | milliseconds | Time since the database last started that the globalLock has been held |
mongodb_globalLock_ratio | Globallock Ratio | fraction | Ratio of the time that the globalLock has been held to the total time since it was created |
mongodb_globalLock_totalTime | Globallock Totaltime | microseconds | Time since the database last started and created the global lock |
mongodb_indexCounters_accesses | Indexcounters Accesses | events | Number of times that operations have accessed indexes per second |
mongodb_indexCounters_hits | Indexcounters Hits | hits | Number of times an index has been accessed per second and MongoDB is able to return the index from memory |
mongodb_indexCounters_misses | Indexcounters Misses | miss | Number of times, per second, an operation is attempted to access an index that was not in memory |
mongodb_indexCounters_missRatio | Indexcounters Missratio | fraction | Ratio of index hits to misses |
mongodb_indexCounters_reset | Indexcounters Reset | event | Number of times per second the index counters have been reset |
mongodb_locks_Collection_acquireCount_Exclusive | Locks Collection Acquirecount Exclusive | locks / second | Number of times the collection lock type was acquired in the Exclusive X mode |
mongodb_locks_Collection_acquireCount_Intent_Exclusive | Locks Collection Acquirecount Intent Exclusive | locks / second | Number of times the collection lock type was acquired in the Intent Exclusive IX mode |
mongodb_locks_Collection_acquireCount_Intent_Shared | Locks Collection Acquirecount Intent Shared | locks / second | Number of times the collection lock type was acquired in the Intent Shared IS mode |
mongodb_locks_Collection_acquireCount_Shared | Locks Collection Acquirecount Shared | locks / second | Number of times the collection lock type was acquired in the Shared S mode |
mongodb_locks_Collection_acquireWaitCount_Exclusive | Locks Collection Acquirewaitcount Exclusive | wait / second | Number of times the collection lock type acquisition in the Exclusive X mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Collection_acquireWaitCount_Shared | Locks Collection Acquirewaitcount Shared | wait / second | Number of times the collection lock type acquisition in the Shared S mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Collection_timeAcquiringMicros_Exclusive | Locks Collection Timeacquiringmicros Exclusive | fraction | Wait time for the collection lock type acquisitions in the Exclusive X mode |
mongodb_locks_Collection_timeAcquiringMicros_Shared | Locks Collection Timeacquiringmicros Shared | fraction | Wait time for the collection lock type acquisitions in the Shared S mode |
mongodb_locks_Database_acquireCount_Exclusive | Locks Database Acquirecount Exclusive | lock / second | Number of times the database lock type was acquired in the Exclusive X mode |
mongodb_locks_Database_acquireCount_Intent_Exclusive | Locks Database Acquirecount Intent Exclusive | lock / second | Number of times the database lock type was acquired in the Intent Exclusive IX mode |
mongodb_locks_Database_acquireCount_Intent_Shared | Locks Database Acquirecount Intent Shared | lock / second | Number of times the database lock type was acquired in the Intent Shared IS mode |
mongodb_locks_Database_acquireCount_Shared | Locks Database Acquirecount Shared | lock / second | Number of times the database lock type was acquired in the Shared S mode |
mongodb_locks_Database_acquireWaitCount_Exclusive | Locks Database Acquirewaitcount Exclusive | wait / second | Number of times the database lock type acquisition in the Exclusive X mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Database_acquireWaitCount_Intent_Exclusive | Locks Database Acquirewaitcount Intent Exclusive | wait / second | Number of times the database lock type acquisition in the Intent Exclusive IX mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Database_acquireWaitCount_Intent_Shared | Locks Database Acquirewaitcount Intent Shared | wait / second | Number of times the database lock type acquisition in the Intent Shared IS mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Database_acquireWaitCount_Shared | Locks Database Acquirewaitcount Shared | wait / second | Number of times the database lock type acquisition in the Shared S mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Database_timeAcquiringMicros_Exclusive | Locks Database Timeacquiringmicros Exclusive | fraction | Wait time for the database lock type acquisitions in the Exclusive X mode |
mongodb_locks_Database_timeAcquiringMicros_Intent_Exclusive | Locks Database Timeacquiringmicros Intent Exclusive | fraction | Wait time for the database lock type acquisitions in the Intent Exclusive IX mode |
mongodb_locks_Database_timeAcquiringMicros_Intent_Shared | Locks Database Timeacquiringmicros Intent Shared | fraction | Wait time for the database lock type acquisitions in the Intent Shared IS mode |
mongodb_locks_Database_timeAcquiringMicros_Shared | Locks Database Timeacquiringmicros Shared | fraction | Wait time for the database lock type acquisitions in the Shared S mode |
mongodb_locks_Global_acquireCount_Exclusive | Locks Global Acquirecount Exclusive | lock / second | Number of times the global lock type was acquired in the Exclusive X mode |
mongodb_locks_Global_acquireCount_Intent_Exclusive | Locks Global Acquirecount Intent Exclusive | lock / second | Number of times the global lock type was acquired in the Intent Exclusive IX mode |
mongodb_locks_Global_acquireCount_Intent_Shared | Locks Global Acquirecount Intent Shared | lock / second | Number of times the global lock type was acquired in the Intent Shared IS mode |
mongodb_locks_Global_acquireCount_Shared | Locks Global Acquirecount Shared | locks / second | Number of times the global lock type was acquired in the Shared S mode |
mongodb_locks_Global_acquireWaitCount_Exclusive | Locks Global Acquirewaitcount Exclusive | waits / second | Number of times the global lock type acquisition in the Exclusive X mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Global_acquireWaitCount_Intent_Exclusive | Locks Global Acquirewaitcount Intent Exclusive | waits / second | Number of times the global lock type acquisition in the Intent Exclusive IX mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Global_acquireWaitCount_Intent_Shared | Locks Global Acquirewaitcount Intent Shared | waits / second | Number of times the global lock type acquisition in the Intent Shared IS mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Global_acquireWaitCount_Shared | Locks Global Acquirewaitcount Shared | waits / second | Number of times the global lock type acquisition in the Shared S mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_Global_timeAcquiringMicros_Exclusive | Locks Global Timeacquiringmicros Exclusive | fraction | Wait time for the global lock type acquisitions in the Exclusive X mode |
mongodb_locks_Global_timeAcquiringMicros_Intent_Exclusive | Locks Global Timeacquiringmicros Intent Exclusive | fraction | Wait time for the global lock type acquisitions in the Intent Exclusive IX mode |
mongodb_locks_Global_timeAcquiringMicros_Intent_Shared | Locks Global Timeacquiringmicros Intent Shared | fraction | Wait time for the global lock type acquisitions in the Intent Shared IS mode |
mongodb_locks_Global_timeAcquiringMicros_Shared | Locks Global Timeacquiringmicros Shared | fraction | Wait time for the global lock type acquisitions in the Shared S mode |
mongodb_locks_Metadata_acquireCount_Intent_Exclusive | Locks Metadata Acquirecount Intent Exclusive | locks / second | Number of times the metadata lock type was acquired in the Exclusive X mode |
mongodb_locks_Metadata_acquireCount_Intent_Shared | Locks Metadata Acquirecount Intent Shared | locks / second | Number of times the metadata lock type was acquired in the Shared S mode |
mongodb_locks_MMAPV1Journal_acquireCount_Intent_Exclusive | Mongodb Locks Mmapv1Journal Acquirecount Intent Exclusiveps | locks | Number of times the MMAPv1 storage engine lock type was acquired in the Intent Exclusive IX mode |
mongodb_locks_MMAPV1Journal_acquireCount_Intent_Shared | Mongodb Locks Mmapv1Journal Acquirecount Intent Sharedps | locks | Number of times the MMAPv1 storage engine lock type was acquired in the Intent Shared IS mode |
mongodb_locks_MMAPV1Journal_acquireWaitCount_Intent_Exclusive | Mongodb Locks Mmapv1Journal Acquirewaitcount Intent Exclusiveps | waits | Number of times the MMAPv1 storage engine lock type acquisition in the Intent Exclusive IX mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_MMAPV1Journal_acquireWaitCount_Intent_Shared | Mongodb Locks Mmapv1Journal Acquirewaitcount Intent Sharedps | waits | Number of times the MMAPv1 storage engine lock type acquisition in the Intent Shared IS mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_MMAPV1Journal_timeAcquiringMicros_Intent_Exclusive | Mongodb Locks Mmapv1Journal Timeacquiringmicros Intent Exclusiveps | fraction | Wait time for the MMAPv1 storage engine lock type acquisitions in the Intent Exclusive IX mode |
mongodb_locks_MMAPV1Journal_timeAcquiringMicros_Intent_Shared | Mongodb Locks Mmapv1Journal Timeacquiringmicros Intent Sharedps | fraction | Wait time for the MMAPv1 storage engine lock type acquisitions in the Intent Shared IS mode |
mongodb_locks_oplog_acquireCount_Intent_Exclusive | Locks Oplog Acquirecount Intent Exclusive | locks / second | Number of times the oplog lock type was acquired in the Intent Exclusive IX mode |
mongodb_locks_oplog_acquireCount_Intent_Shared | Locks Oplog Acquirecount Intent Shared | locks / second | Number of times the oplog lock type was acquired in the Shared S mode |
mongodb_locks_oplog_acquireWaitCount_Intent_Exclusive | Locks Oplog Acquirewaitcount Intent Exclusive | waits / second | Number of times the oplog lock type acquisition in the Intent Exclusive IX mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_oplog_acquireWaitCount_Shared | Locks Oplog Acquirewaitcount Shared | waits / second | Number of times the oplog lock type acquisition in the Shared S mode encountered waits because the locks were held in a conflicting mode |
mongodb_locks_oplog_timeAcquiringMicros_Intent_Exclusive | Locks Oplog Timeacquiringmicros Intent Exclusive | fraction | Wait time for the oplog lock type acquisitions in the Intent Exclusive IX mode |
mongodb_locks_oplog_timeAcquiringMicros_Shared | Locks Oplog Timeacquiringmicros Shared | fraction | Wait time for the oplog lock type acquisitions in the Shared S mode |
mongodb_mem_bits | Mem Bits | mebibytes | Size of the in-memory storage engine |
mongodb_mem_mapped | Mem Mapped | mebibytes | Amount of mapped memory by the database |
mongodb_mem_mappedWithJournal | Mem Mappedwithjournal | mebibytes | The amount of mapped memory including the memory used for journaling |
mongodb_mem_resident | Mem Resident | mebibytes | Amount of memory currently used by the database process |
mongodb_mem_virtual | Mem Virtual | mebibytes | Amount of virtual memory used by the mongod process |
mongodb_metrics_commands_count_failed | Metrics Commands Count Failed | commands | Number of times count failed |
mongodb_metrics_commands_count_total | Metrics Commands Count Total | commands | Number of times count executed |
mongodb_metrics_commands_createIndexes_failed | Metrics Commands Createindexes Failed | commands | Number of times createIndexes failed |
mongodb_metrics_commands_createIndexes_total | Metrics Commands Createindexes Total | commands | Number of times createIndexes executed |
mongodb_metrics_commands_delete_failed | Metrics Commands Delete Failed | commands | Number of times delete failed |
mongodb_metrics_commands_delete_total | Metrics Commands Delete Total | commands | Number of times delete executed |
mongodb_metrics_commands_eval_failed | Metrics Commands Eval Failed | commands | Number of times evaluation failed |
mongodb_metrics_commands_eval_total | Metrics Commands Eval Total | commands | Number of times evaluation executed |
mongodb_metrics_commands_findAndModify_failed | Metrics Commands Findandmodify Failed | commands | Number of times findAndModify failed |
mongodb_metrics_commands_findAndModify_total | Metrics Commands Findandmodify Total | commands | Number of times findAndModify executed |
mongodb_metrics_commands_insert_failed | Metrics Commands Insert Failed | commands | Number of times insert failed |
mongodb_metrics_commands_insert_total | Metrics Commands Insert Total | commands | Number of times insert executed |
mongodb_metrics_commands_update_failed | Metrics Commands Update Failed | commands | Number of times update failed |
mongodb_metrics_commands_update_total | Metrics Commands Update Total | commands | Number of times update executed |
mongodb_metrics_cursor_open_noTimeout | Metrics Cursor Open Notimeout | cursors | Number of open cursors with the option DBQueryOptionnoTimeout set to prevent timeout after a period of inactivity |
mongodb_metrics_cursor_open_pinned | Metrics Cursor Open Pinned | cursors | Number of pinned open cursors |
mongodb_metrics_cursor_open_total | Metrics Cursor Open Total | cursors | Number of cursors that MongoDB is maintaining for clients |
mongodb_metrics_cursor_timedOut | Metrics Cursor Timedout | cursors / second | Number of cursors that time out per second |
mongodb_metrics_document_deleted | Metrics Document Deleted | documents / second | Number of documents deleted per second |
mongodb_metrics_document_inserted | Metrics Document Inserted | documents / second | Number of documents inserted per second |
mongodb_metrics_document_returned | Metrics Document Returned | documents / second | Number of documents returned by queries per second |
mongodb_metrics_document_updated | Metrics Document Updated | documents / second | Number of documents updated per second |
mongodb_metrics_getLastError_wtime_num | Metrics Getlasterror Wtime Num | operations / second | Number of getLastError operations per second with a specified write concern. Wait for one or more members of a replica set to acknowledge the write operation |
mongodb_metrics_getLastError_wtime_totalMillis | Metrics Getlasterror Wtime Totalmillis | fraction | Fraction of time ms per s that the mongodb has spent performing getLastError operations with write concern ie w that wait for one or more members of a replica set to acknowledge the write operation |
mongodb_metrics_getLastError_wtimeouts | Metrics Getlasterror Wtimeouts | events / second | Number of times per second the write concern operations have timed out as a result of the wtimeout threshold to getLastError |
mongodb_metrics_operation_fastmod | Metrics Operation Fastmod | operations / second | Number of update operations per second that neither cause documents to grow nor require updates to the index |
mongodb_metrics_operation_idhack | Metrics Operation Idhack | queries / second | Number of queries per second that contain the ID field |
mongodb_metrics_operation_writeConflicts | Metrics Operation Writeconflicts | events | Number of times per second that write concern operations has encounter a conflict |
mongodb_metrics_operation_scanAndOrder | Metrics Operation Scanandorder | query | Number of queries per second that return sorted numbers that cannot perform the sort operation using an index |
mongodb_metrics_queryExecutor_scanned | Metrics Queryexecutor Scanned | operations | Number of index items scanned per second during queries and queryplan evaluation |
mongodb_metrics_record_moves | Metrics Record Moves | operations | Number of times per second documents move within the ondisk representation of the MongoDB data set |
mongodb_metrics_repl_apply_batches_num | Metrics Repl Apply Batches Num | operations / second | Number of batches applied across all databases per second |
mongodb_metrics_repl_apply_batches_totalMillis | Metrics Repl Apply Batches Totalmillis | fraction | Fraction of time ms per s the MongoDB has spent applying operations from the oplog |
mongodb_metrics_repl_apply_ops | Metrics Repl Apply Ops | operations / second | Number of oplog operations applied per second |
mongodb_metrics_repl_buffer_count | Metrics Repl Buffer Count | operations / second | Number of operations in the oplog buffer |
mongodb_metrics_repl_buffer_maxSizeBytes | Metrics Repl Buffer Maxsizebytes | bytes | Maximum size of the buffer |
mongodb_metrics_repl_buffer_sizeBytes | Metrics Repl Buffer Sizebytes | bytes | Current size of the contents of the oplog buffer |
mongodb_metrics_repl_network_bytes | Metrics Repl Network Bytes | bytes / second | Amount of data read from the replication sync source per second |
mongodb_metrics_repl_network_getmores_num | Metrics Repl Network Getmores Num | operations / second | Number of getmore operations per second |
mongodb_metrics_repl_network_getmores_totalMillis | Metrics Repl Network Getmores Totalmillis | fractions / second | Fraction of time ms per s required to collect data from getmore operations |
mongodb_metrics_repl_network_ops | Metrics Repl Network Ops | operations / second | Number of operations read from the replication source per second |
mongodb_metrics_repl_network_readersCreated | Metrics Repl Network Readerscreated | processes / second | Number of oplog query processes created per second |
mongodb_metrics_repl_preload_docs_num | Metrics Repl Preload Docs Num | documents / second | Number of documents loaded during the prefetch stage of replication |
mongodb_metrics_repl_preload_docs_totalMillis | Metrics Repl Preload Docs Totalmillis | milliseconds | Amount of time spent loading documents as part of the prefetch stage of replication |
mongodb_metrics_repl_preload_indexes_num | Metrics Repl Preload Indexes Num | milliseconds | Amount of time spent loading documents as part of the prefetch stage of replication |
mongodb_metrics_ttl_deletedDocuments | Metrics Ttl Deleteddocuments | documents / second | Number of documents deleted from collections with a ttl index per second |
mongodb_metrics_ttl_passes | Metrics Ttl Passes | operations / second | Number of times per second the background process removes documents from collections with a ttl index |
mongodb_network_bytesIn | Network Bytesin | bytes / second | The number of bytes that reflects the amount of network traffic received by this database |
mongodb_network_bytesOut | Network Bytesout | bytes / second | The number of bytes that reflects the amount of network traffic sent from this database |
mongodb_network_numRequests | Network Numrequests | requests / second | Number of distinct requests that the server has received |
mongodb_opcountes_command | Opcountes Command | commands / second | Total number of commands per second issued to the database |
mongodb_opcountes_delete | Opcountes Delete | operations / second | Number of delete operations per second |
mongodb_opcountes_getmore | Opcountes Getmore | operations / second | Number of getmore operations per second |
mongodb_opcountes_insert | Opcountes Insert | operations / second | Number of insert operations per second |
mongodb_opcountes_query | Opcountes Query | query / second | Total number of queries per second |
mongodb_opcountes_update | Opcountes Update | operations / second | Number of update operations per second |
mongodb_opcountersRepl_command | Opcountersrepl Command | commands / second | Total number of replicated commands issued to the database per second |
mongodb_opcountersRepl_delete | Opcountersrepl Delete | operations / second | Number of replicated delete operations per second |
mongodb_opcountersRepl_getmore | Opcountersrepl Getmore | operations / second | Number of replicated getmore operations per second |
mongodb_opcountersRepl_insert | Opcountersrepl Insert | operations / second | Number of replicated insert operations per second |
mongodb_opcountersRepl_query | Opcountersrepl Query | query / second | Total number of replicated queries per second |
mongodb_opcountersRepl_update | Opcountersrepl Update | operations / second | Number of replicated update operations per second |
mongodb_replicationlag | Replicationlag | seconds | Delay between a write operation on the primary and its copy to a secondary |
mongodb_myState | Mystate | State of a replica that reflects its disposition within the set | |
mongodb_stats_dataSize | Stats Datasize | bytes | Total size of the data held in this database including the padding factor |
mongodb_stats_indexes | Stats Indexes | index | Total number of indexes across all collections in the database |
mongodb_stats_indexSize | Stats Indexsize | bytes | Total size of all indexes created on this database |
mongodb_stats_objects | Stats Objects | objects | Number of objects documents in the database across all collections |
mongodb_stats_storageSize | Stats Storagesize | bytes | Total amount of space allocated to collections in this database for document storage |
mongodb_uptime | Uptime | minutes | Number of seconds that the mongos or mongod process has been active |
mongodb_wiredtiger_cache_cache.bytes_currently_in_cache | Wiredtiger Cache Cache.Bytes Currently In Cache | bytes | Size of the data currently in cache |
mongodb_wiredtiger_cache_in_memory_page_splits | Wiredtiger Cache In Memory Page Splits | split | In-memory page splits |
mongodb_wiredtiger_cache_maximum_bytes_configured | Wiredtiger Cache Maximum Bytes Configured | bytes | Maximum cache size |
mongodb_wiredtiger_cache_maximum_page_size_at_eviction | Wiredtiger Cache Maximum Page Size At Eviction | bytes | Maximum page size at eviction |
mongodb_wiredtiger_cache_modified_pages_evicted | Wiredtiger Cache Modified Pages Evicted | page | Number of pages that have been modified evicted from the cache |
mongodb_wiredtiger_cache_pages_currently_held_in_cache | Wiredtiger Cache Pages Currently Held In Cache | page | Number of pages currently held in the cache |
mongodb_wiredtiger_cache_pages_evicted_by_application_threads | Wiredtiger Cache Pages Evicted By Application Threads | page | Number of page evicted by application threads per second |
mongodb_wiredtiger_cache_tracked_dirty_bytes_in_cache | Wiredtiger Cache Tracked Dirty Bytes In Cache | bytes | Size of the dirty data in the cache |
mongodb_wiredtiger_cache_unmodified_pages_evicted | Wiredtiger Cache Unmodified Pages Evicted | page | Number of pages that were not modified evicted from the cache |
mongodb_wiredTiger_concurrentTransactions_write_available | Wiredtiger Concurrenttransactions Write Available | ticket | Number of available read tickets concurrent transactions remaining |
mongodb_wiredTiger_concurrentTransactions_read_out | Wiredtiger Concurrenttransactions Read Out | ticket | Number of read tickets concurrent transactions in use |
mongodb_wiredTiger_concurrentTransactions_read_totalTickets | Wiredtiger Concurrenttransactions Read Totaltickets | ticket | Total number of read tickets concurrent transactions available |
mongodb_wiredTiger_concurrentTransactions_write_out | Wiredtiger Concurrenttransactions Write Out | ticket | Number of write tickets concurrent transactions in use |
mongodb_wiredTiger_concurrentTransactions_write_totalTickets | Wiredtiger Concurrenttransactions Write Totaltickets | ticket | Total number of write tickets concurrent transactions available |
mongodb_collection_size | Collection Size | bytes | Total size in bytes of the data in the collection plus the size of every indexes on the mongodbcollection |
mongodb_collection_avgObjSize | Collection Avgobjsize | bytes | Size of the average object in the collection in bytes |
mongodb_collection_count | Collection Count | item | Total number of objects in the collection |
mongodb_collection_capped | Collection Capped | record | Whether the collection is capped |
mongodb_collection_storageSize | Collection Storagesize | bytes | Total storage space allocated to this collection for document storage |
mongodb_collection_nindexes | Collection Nindexes | index | Total number of indices on the collection |
mongodb_collection_totalIndexSize | Collection Totalindexsize | bytes | Size of index in bytes |
mongodb_top_commands_count | Top Commands Count | commands / second | Number of commands per second |
mongodb_top_commands_time | Top Commands Time | microseconds | Total time spent performing commands in microseconds |
mongodb_top_getmore_count | Top Getmore Count | fetch | Number of getmore per second |
mongodb_top_getmore_time | Top Getmore Time | microseconds | Total time spent performing getmore in microseconds |
mongodb_top_insert_count | Top Insert Count | commit | Number of inserts per second |
mongodb_top_insert_time | Top Insert Time | microseconds | Total time spent performing inserts in microseconds |
mongodb_top_queries_count | Top Queries Count | query | Number of queries per second |
mongodb_top_queries_time | Top Queries Time | microseconds | Total time spent performing queries in microseconds |
mongodb_top_readLock_count | Top Readlock Count | locks | Number of read locks per second |
mongodb_top_readLock_time | Top Readlock Time | microseconds | Total time spent performing read locks in microseconds |
mongodb_top_remove_count | Top Remove Count | commit | Number of removals per second |
mongodb_top_remove_time | Top Remove Time | microseconds | Total time spent performing removals in microseconds |
mongodb_top_total_count | Top Total Count | command | Number of operations per second |
mongodb_top_total_time | Top Total Time | microseconds | Total time spent performing operations in microseconds |
mongodb_top_update_count | Top Update Count | commit | Number of updates per second |
mongodb_top_update_time | Top Update Time | microseconds | Total time spent performing updates in microseconds |
mongodb_top_writeLock_count | Top Writelock Count | locks | Number of write locks per second |
mongodb_top_writeLock_time | Top Writelock Time | microseconds | Total time spent performing write locks in microseconds |
mongodb_tcmalloc_generic_current_allocated_bytes | Tcmalloc Generic Current Allocated Bytes | bytes | Bytes of system memory reserved by TCMalloc |
mongodb_tcmalloc_aggressive_memory_decommit | Tcmalloc Aggressive Memory Decommit | Status of aggressive memory decommit mode | |
mongodb_tcmalloc_central_cache_free_bytes | Tcmalloc Central Cache Free Bytes | bytes | Number of free bytes in the central cache |
mongodb_tcmalloc_current_total_thread_cache_bytes | Tcmalloc Current Total Thread Cache Bytes | bytes | Number of bytes used across all thread caches |
mongodb_tcmalloc_max_total_thread_cache_bytes | Tcmalloc Max Total Thread Cache Bytes | bytes | Upper limit on total number of bytes stored across all perthread caches |
mongodb_tcmalloc_pageheap_free_bytes | Tcmalloc Pageheap Free Bytes | bytes | Number of bytes in free mapped pages in page heap |
mongodb_tcmalloc_pageheap_unmapped_bytes | Tcmalloc Pageheap Unmapped Bytes | bytes | Number of bytes in free unmapped pages in page heap |
mongodb_tcmalloc_thread_cache_free_bytes | Tcmalloc Thread Cache Free Bytes | bytes | Number of free bytes in thread caches |
mongodb_tcmalloc_transfer_cache_free_bytes | Tcmalloc Transfer Cache Free Bytes | bytes | Number of free bytes that are waiting to be transfered between the central cache and a thread cache |
mongodb_tcmalloc_spinlock_total_delay_ns | Tcmalloc Spinlock Total Delay Ns | nanoseconds | Spinlock delay time |