MongoDB fieldsedit

Metrics collected from MongoDB servers.

mongodb fieldsedit

MongoDB metrics.

collstats fieldsedit

MongoDB collection statistics metrics.

mongodb.collstats.db

type: keyword

Database name.

mongodb.collstats.collection

type: keyword

Collection name.

mongodb.collstats.name

type: keyword

Combination of database and collection name.

mongodb.collstats.total.time.us

type: long

Total waiting time for locks in microseconds.

mongodb.collstats.total.count

type: long

Total number of lock wait events.

mongodb.collstats.lock.read.time.us

type: long

Time waiting for read locks in microseconds.

mongodb.collstats.lock.read.count

type: long

Number of read lock wait events.

mongodb.collstats.lock.write.time.us

type: long

Time waiting for write locks in microseconds.

mongodb.collstats.lock.write.count

type: long

Number of write lock wait events.

mongodb.collstats.queries.time.us

type: long

Time running queries in microseconds.

mongodb.collstats.queries.count

type: long

Number of queries executed.

mongodb.collstats.getmore.time.us

type: long

Time asking for more cursor rows in microseconds.

mongodb.collstats.getmore.count

type: long

Number of times a cursor asked for more data.

mongodb.collstats.insert.time.us

type: long

Time inserting new documents in microseconds.

mongodb.collstats.insert.count

type: long

Number of document insert events.

mongodb.collstats.update.time.us

type: long

Time updating documents in microseconds.

mongodb.collstats.update.count

type: long

Number of document update events.

mongodb.collstats.remove.time.us

type: long

Time deleting documents in microseconds.

mongodb.collstats.remove.count

type: long

Number of document delete events.

mongodb.collstats.commands.time.us

type: long

Time executing database commands in microseconds.

mongodb.collstats.commands.count

type: long

Number of database commands executed.

dbstats fieldsedit

dbstats provides an overview of a particular mongo database. This document is most concerned with data volumes of a database.

mongodb.dbstats.avg_obj_size.bytes

type: long

format: bytes

mongodb.dbstats.collections

type: integer

mongodb.dbstats.data_size.bytes

type: long

format: bytes

mongodb.dbstats.db

type: keyword

mongodb.dbstats.file_size.bytes

type: long

format: bytes

mongodb.dbstats.index_size.bytes

type: long

format: bytes

mongodb.dbstats.indexes

type: long

mongodb.dbstats.num_extents

type: long

mongodb.dbstats.objects

type: long

mongodb.dbstats.storage_size.bytes

type: long

format: bytes

mongodb.dbstats.ns_size_mb.mb

type: long

mongodb.dbstats.data_file_version.major

type: long

mongodb.dbstats.data_file_version.minor

type: long

mongodb.dbstats.extent_free_list.num

type: long

mongodb.dbstats.extent_free_list.size.bytes

type: long

format: bytes

metrics fieldsedit

Statistics that reflect the current use and state of a running mongod instance for more information, take a look at https://docs.mongodb.com/manual/reference/command/serverStatus/#serverstatus.metrics

commands fieldsedit

Reports on the use of database commands. The fields in metrics.commands are the names of database commands and each value is a document that reports the total number of commands executed as well as the number of failed executions. metrics.commands.<command>.failed shows the number of times <command> failed on this mongod. metrics.commands.<command>.total shows the number of times <command> executed on this mongod.

mongodb.metrics.commands.is_self.failed

type: long

mongodb.metrics.commands.is_self.total

type: long

mongodb.metrics.commands.aggregate.failed

type: long

mongodb.metrics.commands.aggregate.total

type: long

mongodb.metrics.commands.build_info.failed

type: long

mongodb.metrics.commands.build_info.total

type: long

mongodb.metrics.commands.coll_stats.failed

type: long

mongodb.metrics.commands.coll_stats.total

type: long

mongodb.metrics.commands.connection_pool_stats.failed

type: long

mongodb.metrics.commands.connection_pool_stats.total

type: long

mongodb.metrics.commands.count.failed

type: long

mongodb.metrics.commands.count.total

type: long

mongodb.metrics.commands.db_stats.failed

type: long

mongodb.metrics.commands.db_stats.total

type: long

mongodb.metrics.commands.distinct.failed

type: long

mongodb.metrics.commands.distinct.total

type: long

mongodb.metrics.commands.find.failed

type: long

mongodb.metrics.commands.find.total

type: long

mongodb.metrics.commands.get_cmd_line_opts.failed

type: long

mongodb.metrics.commands.get_cmd_line_opts.total

type: long

mongodb.metrics.commands.get_last_error.failed

type: long

mongodb.metrics.commands.get_last_error.total

type: long

mongodb.metrics.commands.get_log.failed

type: long

mongodb.metrics.commands.get_log.total

type: long

mongodb.metrics.commands.get_more.failed

type: long

mongodb.metrics.commands.get_more.total

type: long

mongodb.metrics.commands.get_parameter.failed

type: long

mongodb.metrics.commands.get_parameter.total

type: long

mongodb.metrics.commands.host_info.failed

type: long

mongodb.metrics.commands.host_info.total

type: long

mongodb.metrics.commands.insert.failed

type: long

mongodb.metrics.commands.insert.total

type: long

mongodb.metrics.commands.is_master.failed

type: long

mongodb.metrics.commands.is_master.total

type: long

mongodb.metrics.commands.last_collections.failed

type: long

mongodb.metrics.commands.last_collections.total

type: long

mongodb.metrics.commands.last_commands.failed

type: long

mongodb.metrics.commands.last_commands.total

type: long

mongodb.metrics.commands.list_databased.failed

type: long

mongodb.metrics.commands.list_databased.total

type: long

mongodb.metrics.commands.list_indexes.failed

type: long

mongodb.metrics.commands.list_indexes.total

type: long

mongodb.metrics.commands.ping.failed

type: long

mongodb.metrics.commands.ping.total

type: long

mongodb.metrics.commands.profile.failed

type: long

mongodb.metrics.commands.profile.total

type: long

mongodb.metrics.commands.replset_get_rbid.failed

type: long

mongodb.metrics.commands.replset_get_rbid.total

type: long

mongodb.metrics.commands.replset_get_status.failed

type: long

mongodb.metrics.commands.replset_get_status.total

type: long

mongodb.metrics.commands.replset_heartbeat.failed

type: long

mongodb.metrics.commands.replset_heartbeat.total

type: long

mongodb.metrics.commands.replset_update_position.failed

type: long

mongodb.metrics.commands.replset_update_position.total

type: long

mongodb.metrics.commands.server_status.failed

type: long

mongodb.metrics.commands.server_status.total

type: long

mongodb.metrics.commands.update.failed

type: long

mongodb.metrics.commands.update.total

type: long

mongodb.metrics.commands.whatsmyuri.failed

type: long

mongodb.metrics.commands.whatsmyuri.total

type: long

cursor fieldsedit

Contains data regarding cursor state and use.

mongodb.metrics.cursor.timed_out

type: long

The total number of cursors that have timed out since the server process started.

open fieldsedit

Contains data regarding open cursors.

mongodb.metrics.cursor.open.no_timeout

type: long

The number of open cursors with the option DBQuery.Option.noTimeout set to prevent timeout.

mongodb.metrics.cursor.open.pinned

type: long

The number of pinned open cursors.

mongodb.metrics.cursor.open.total

type: long

The number of cursors that MongoDB is maintaining for clients.

document fieldsedit

Reflects document access and modification patterns.

mongodb.metrics.document.deleted

type: long

The total number of documents deleted.

mongodb.metrics.document.inserted

type: long

The total number of documents inserted.

mongodb.metrics.document.returned

type: long

The total number of documents returned by queries.

mongodb.metrics.document.updated

type: long

The total number of documents updated.

get_last_error fieldsedit

Returns the error status of the preceding write operation on the current connection.

mongodb.metrics.get_last_error.write_wait.ms

type: long

The total amount of time in milliseconds that the mongod has spent performing getLastError operations with write concern (i.e. w) greater than 1.

mongodb.metrics.get_last_error.write_wait.count

type: long

The total number of getLastError operations with a specified write concern (i.e. w) greater than 1.

mongodb.metrics.get_last_error.write_timeouts

type: long

The number of times that write concern operations have timed out as a result of the wtimeout threshold to getLastError.

operation fieldsedit

Holds counters for several types of update and query operations that MongoDB handles using special operation types.

mongodb.metrics.operation.scan_and_order

type: long

The total number of queries that return sorted numbers that cannot perform the sort operation using an index.

mongodb.metrics.operation.write_conflicts

type: long

The total number of queries that encountered write conflicts.

query_executor fieldsedit

Reports data from the query execution system.

mongodb.metrics.query_executor.scanned_indexes

type: long

The total number of index items scanned during queries and query-plan evaluation.

mongodb.metrics.query_executor.scanned_documents

type: long

The total number of documents scanned during queries and query-plan evaluation.

replication fieldsedit

Reports metrics related to the replication process. metrics.replication appears on all mongod instances, even those that aren’t members of replica sets.

executor fieldsedit

Reports on various statistics for the replication executor.

mongodb.metrics.replication.executor.counters.event_created

type: long

mongodb.metrics.replication.executor.counters.event_wait

type: long

mongodb.metrics.replication.executor.counters.cancels

type: long

mongodb.metrics.replication.executor.counters.waits

type: long

mongodb.metrics.replication.executor.counters.scheduled.netcmd

type: long

mongodb.metrics.replication.executor.counters.scheduled.dbwork

type: long

mongodb.metrics.replication.executor.counters.scheduled.exclusive

type: long

mongodb.metrics.replication.executor.counters.scheduled.work_at

type: long

mongodb.metrics.replication.executor.counters.scheduled.work

type: long

mongodb.metrics.replication.executor.counters.scheduled.failures

type: long

mongodb.metrics.replication.executor.queues.in_progress.network

type: long

mongodb.metrics.replication.executor.queues.in_progress.dbwork

type: long

mongodb.metrics.replication.executor.queues.in_progress.exclusive

type: long

mongodb.metrics.replication.executor.queues.sleepers

type: long

mongodb.metrics.replication.executor.queues.ready

type: long

mongodb.metrics.replication.executor.queues.free

type: long

mongodb.metrics.replication.executor.unsignaled_events

type: long

mongodb.metrics.replication.executor.event_waiters

type: long

mongodb.metrics.replication.executor.shutting_down

type: boolean

mongodb.metrics.replication.executor.network_interface

type: text

apply fieldsedit

Reports on the application of operations from the replication oplog.

mongodb.metrics.replication.apply.attempts_to_become_secondary

type: long

batches fieldsedit

Reports on the oplog application process on secondaries members of replica sets.

mongodb.metrics.replication.apply.batches.count

type: long

The total number of batches applied across all databases.

mongodb.metrics.replication.apply.batches.time.ms

type: long

The total amount of time in milliseconds the mongod has spent applying operations from the oplog.

mongodb.metrics.replication.apply.ops

type: long

The total number of oplog operations applied.

buffer fieldsedit

MongoDB buffers oplog operations from the replication sync source buffer before applying oplog entries in a batch. metrics.replication.buffer provides a way to track the oplog buffer.

mongodb.metrics.replication.buffer.count

type: long

The current number of operations in the oplog buffer.

mongodb.metrics.replication.buffer.max_size.bytes

type: long

The maximum size of the buffer. This value is a constant setting in the mongod, and is not configurable.

mongodb.metrics.replication.buffer.size.bytes

type: long

The current size of the contents of the oplog buffer.

initial_sync fieldsedit

Report initial sync status

mongodb.metrics.replication.initial_sync.completed

type: long

mongodb.metrics.replication.initial_sync.failed_attempts

type: long

mongodb.metrics.replication.initial_sync.failures

type: long

network fieldsedit

Reports network use by the replication process.

mongodb.metrics.replication.network.bytes

type: long

The total amount of data read from the replication sync source.

getmores fieldsedit

Reports on the getmore operations, which are requests for additional results from the oplog cursor as part of the oplog replication process.

mongodb.metrics.replication.network.getmores.count

type: long

The total number of getmore operations

mongodb.metrics.replication.network.getmores.time.ms

type: long

The total amount of time required to collect data from getmore operations.

mongodb.metrics.replication.network.ops

type: long

The total number of operations read from the replication source.

mongodb.metrics.replication.network.reders_created

type: long

The total number of oplog query processes created.

preload fieldsedit

Reports on the pre-fetch stage, where MongoDB loads documents and indexes into RAM to improve replication throughput.

docs fieldsedit

Reports on the documents loaded into memory during the pre-fetch stage.

mongodb.metrics.replication.preload.docs.count

type: long

The total number of documents loaded during the pre-fetch stage of replication.

mongodb.metrics.replication.preload.docs.time.ms

type: long

indexes fieldsedit

Reports on the index items loaded into memory during the pre-fetch stage of replication.

mongodb.metrics.replication.preload.indexes.count

type: long

The total number of index entries loaded by members before updating documents as part of the pre-fetch stage of replication.

mongodb.metrics.replication.preload.indexes.time.ms

type: long

The total amount of time, in milliseconds, spent loading index entries as part of the pre-fetch stage of replication.

mongodb.metrics.storage.free_list.search.bucket_exhausted

type: long

The number of times that mongod has checked the free list without finding a suitably large record allocation.

mongodb.metrics.storage.free_list.search.requests

type: long

The number of times mongod has searched for available record allocations.

mongodb.metrics.storage.free_list.search.scanned

type: long

The number of available record allocations mongod has searched.

ttl fieldsedit

Reports on the operation of the resource use of the ttl index process.

mongodb.metrics.ttl.deleted_documents

type: long

The total number of documents deleted from collections with a ttl index.

mongodb.metrics.ttl.passes

type: long

The number of times the background process removes documents from collections with a ttl index.

replstatus fieldsedit

replstatus provides an overview of replica set status.

oplog fieldsedit

oplog provides an overview of replication oplog status, which is retrieved from db.getReplicationInfo().

mongodb.replstatus.oplog.size.allocated

type: long

format: bytes

The total amount of space used by the replstatus in bytes.

mongodb.replstatus.oplog.size.used

type: long

format: bytes

total amount of space allocated to the replstatus in bytes.

mongodb.replstatus.oplog.first.timestamp

type: long

Timestamp of the first (i.e. earliest) operation in the replstatus

mongodb.replstatus.oplog.last.timestamp

type: long

Timestamp of the last (i.e. latest) operation in the replstatus

mongodb.replstatus.oplog.window

type: long

The difference between the first and last operation in the replstatus.

mongodb.replstatus.set_name

type: keyword

The name of the replica set.

mongodb.replstatus.server_date

type: date

Reflects the current time according to the server that processed the replSetGetStatus command.

mongodb.replstatus.optimes.last_committed

type: long

Information, from the viewpoint of this member, regarding the most recent operation that has been written to a majority of replica set members.

mongodb.replstatus.optimes.applied

type: long

Information, from the viewpoint of this member, regarding the most recent operation that has been applied to this member of the replica set.

mongodb.replstatus.optimes.durable

type: long

Information, from the viewpoint of this member, regarding the most recent operation that has been written to the journal of this member of the replica set.

lag fieldsedit

Delay between a write operation on the primary and its copy to a secondary

mongodb.replstatus.lag.max

type: long

format: duration

Difference between optime of primary and slowest secondary

mongodb.replstatus.lag.min

type: long

format: duration

Difference between optime of primary and fastest secondary

headroom fieldsedit

Difference between the primary’s oplog window and the replication lag of the secondary

mongodb.replstatus.headroom.max

type: long

format: duration

Difference between primary’s oplog window and the replication lag of the fastest secondary

mongodb.replstatus.headroom.min

type: long

format: duration

Difference between primary’s oplog window and the replication lag of the slowest secondary

members fieldsedit

Provides information about members of replica set grouped by their state

mongodb.replstatus.members.primary.host

type: keyword

Host address of the primary

mongodb.replstatus.members.primary.optime

type: keyword

Optime of primary

mongodb.replstatus.members.secondary.hosts

type: keyword

List of secondary hosts

mongodb.replstatus.members.secondary.optimes

type: keyword

Optimes of secondaries

mongodb.replstatus.members.secondary.count

type: long

mongodb.replstatus.members.recovering.hosts

type: keyword

List of recovering members hosts

mongodb.replstatus.members.recovering.count

type: long

Count of members in the recovering state

mongodb.replstatus.members.unknown.hosts

type: keyword

List of members' hosts in the unknown state

mongodb.replstatus.members.unknown.count

type: long

Count of members with unknown state

mongodb.replstatus.members.startup2.hosts

type: keyword

List of initializing members hosts

mongodb.replstatus.members.startup2.count

type: long

Count of members in the startup2 state

mongodb.replstatus.members.arbiter.hosts

type: keyword

List of arbiters hosts

mongodb.replstatus.members.arbiter.count

type: long

Count of arbiters

mongodb.replstatus.members.down.hosts

type: keyword

List of down members hosts

mongodb.replstatus.members.down.count

type: long

Count of down members

mongodb.replstatus.members.rollback.hosts

type: keyword

List of members in the rollback state

mongodb.replstatus.members.rollback.count

type: long

Count of members in the rollback state

mongodb.replstatus.members.unhealthy.hosts

type: keyword

List of members' hosts with healthy = false

mongodb.replstatus.members.unhealthy.count

type: long

Count of unhealthy members

status fieldsedit

MongoDB server status metrics.

mongodb.status.version

type: keyword

Instance version.

mongodb.status.process

type: keyword

The current MongoDB process. Possible values are mongos or mongod.

mongodb.status.uptime.ms

type: long

Instance uptime in milliseconds.

mongodb.status.local_time

type: date

Local time as reported by the MongoDB instance.

mongodb.status.asserts.regular

type: long

Number of regular assertions produced by the server.

mongodb.status.asserts.warning

type: long

Number of warning assertions produced by the server.

mongodb.status.asserts.msg

type: long

Number of msg assertions produced by the server.

mongodb.status.asserts.user

type: long

Number of user assertions produced by the server.

mongodb.status.asserts.rollovers

type: long

Number of rollovers assertions produced by the server.

connections fieldsedit

Data regarding the current status of incoming connections and availability of the database server.

mongodb.status.connections.current

type: long

The number of connections to the database server from clients. This number includes the current shell session. Consider the value of available to add more context to this datum.

mongodb.status.connections.available

type: long

The number of unused available incoming connections the database can provide.

mongodb.status.connections.total_created

type: long

A count of all incoming connections created to the server. This number includes connections that have since closed.

extra_info fieldsedit

Platform specific data.

mongodb.status.extra_info.heap_usage.bytes

type: long

format: bytes

The total size in bytes of heap space used by the database process. Only available on Unix/Linux.

mongodb.status.extra_info.page_faults

type: long

The total number of page faults that require disk operations. Page faults refer to operations that require the database server to access data that isn’t available in active memory.

global_lock fieldsedit

Reports on lock state of the database.

mongodb.status.global_lock.total_time.us

type: long

The time, in microseconds, since the database last started and created the globalLock. This is roughly equivalent to total server uptime.

current_queue fieldsedit

The number of operations queued because of a lock.

mongodb.status.global_lock.current_queue.total

type: long

The total number of operations queued waiting for the lock (i.e., the sum of current_queue.readers and current_queue.writers).

mongodb.status.global_lock.current_queue.readers

type: long

The number of operations that are currently queued and waiting for the read lock.

mongodb.status.global_lock.current_queue.writers

type: long

The number of operations that are currently queued and waiting for the write lock.

active_clients fieldsedit

The number of connected clients and the read and write operations performed by these clients.

mongodb.status.global_lock.active_clients.total

type: long

Total number of the active client connections performing read or write operations.

mongodb.status.global_lock.active_clients.readers

type: long

The number of the active client connections performing read operations.

mongodb.status.global_lock.active_clients.writers

type: long

The number of the active client connections performing write operations.

locks fieldsedit

A document that reports for each lock <type>, data on lock <mode>s. The possible lock <type>s are global, database, collection, metadata and oplog. The possible <mode>s are r, w, R and W which respresent shared, exclusive, intent shared and intent exclusive. locks.<type>.acquire.count.<mode> shows the number of times the lock was acquired in the specified mode. locks.<type>.wait.count.<mode> shows the number of times the locks.acquireCount lock acquisitions encountered waits because the locks were held in a conflicting mode. locks.<type>.wait.us.<mode> shows the cumulative wait time in microseconds for the lock acquisitions. locks.<type>.deadlock.count.<mode> shows the number of times the lock acquisitions encountered deadlocks.

mongodb.status.locks.global.acquire.count.r

type: long

mongodb.status.locks.global.acquire.count.w

type: long

mongodb.status.locks.global.acquire.count.R

type: long

mongodb.status.locks.global.acquire.count.W

type: long

mongodb.status.locks.global.wait.count.r

type: long

mongodb.status.locks.global.wait.count.w

type: long

mongodb.status.locks.global.wait.count.R

type: long

mongodb.status.locks.global.wait.count.W

type: long

mongodb.status.locks.global.wait.us.r

type: long

mongodb.status.locks.global.wait.us.w

type: long

mongodb.status.locks.global.wait.us.R

type: long

mongodb.status.locks.global.wait.us.W

type: long

mongodb.status.locks.global.deadlock.count.r

type: long

mongodb.status.locks.global.deadlock.count.w

type: long

mongodb.status.locks.global.deadlock.count.R

type: long

mongodb.status.locks.global.deadlock.count.W

type: long

mongodb.status.locks.database.acquire.count.r

type: long

mongodb.status.locks.database.acquire.count.w

type: long

mongodb.status.locks.database.acquire.count.R

type: long

mongodb.status.locks.database.acquire.count.W

type: long

mongodb.status.locks.database.wait.count.r

type: long

mongodb.status.locks.database.wait.count.w

type: long

mongodb.status.locks.database.wait.count.R

type: long

mongodb.status.locks.database.wait.count.W

type: long

mongodb.status.locks.database.wait.us.r

type: long

mongodb.status.locks.database.wait.us.w

type: long

mongodb.status.locks.database.wait.us.R

type: long

mongodb.status.locks.database.wait.us.W

type: long

mongodb.status.locks.database.deadlock.count.r

type: long

mongodb.status.locks.database.deadlock.count.w

type: long

mongodb.status.locks.database.deadlock.count.R

type: long

mongodb.status.locks.database.deadlock.count.W

type: long

mongodb.status.locks.collection.acquire.count.r

type: long

mongodb.status.locks.collection.acquire.count.w

type: long

mongodb.status.locks.collection.acquire.count.R

type: long

mongodb.status.locks.collection.acquire.count.W

type: long

mongodb.status.locks.collection.wait.count.r

type: long

mongodb.status.locks.collection.wait.count.w

type: long

mongodb.status.locks.collection.wait.count.R

type: long

mongodb.status.locks.collection.wait.count.W

type: long

mongodb.status.locks.collection.wait.us.r

type: long

mongodb.status.locks.collection.wait.us.w

type: long

mongodb.status.locks.collection.wait.us.R

type: long

mongodb.status.locks.collection.wait.us.W

type: long

mongodb.status.locks.collection.deadlock.count.r

type: long

mongodb.status.locks.collection.deadlock.count.w

type: long

mongodb.status.locks.collection.deadlock.count.R

type: long

mongodb.status.locks.collection.deadlock.count.W

type: long

mongodb.status.locks.meta_data.acquire.count.r

type: long

mongodb.status.locks.meta_data.acquire.count.w

type: long

mongodb.status.locks.meta_data.acquire.count.R

type: long

mongodb.status.locks.meta_data.acquire.count.W

type: long

mongodb.status.locks.meta_data.wait.count.r

type: long

mongodb.status.locks.meta_data.wait.count.w

type: long

mongodb.status.locks.meta_data.wait.count.R

type: long

mongodb.status.locks.meta_data.wait.count.W

type: long

mongodb.status.locks.meta_data.wait.us.r

type: long

mongodb.status.locks.meta_data.wait.us.w

type: long

mongodb.status.locks.meta_data.wait.us.R

type: long

mongodb.status.locks.meta_data.wait.us.W

type: long

mongodb.status.locks.meta_data.deadlock.count.r

type: long

mongodb.status.locks.meta_data.deadlock.count.w

type: long

mongodb.status.locks.meta_data.deadlock.count.R

type: long

mongodb.status.locks.meta_data.deadlock.count.W

type: long

mongodb.status.locks.oplog.acquire.count.r

type: long

mongodb.status.locks.oplog.acquire.count.w

type: long

mongodb.status.locks.oplog.acquire.count.R

type: long

mongodb.status.locks.oplog.acquire.count.W

type: long

mongodb.status.locks.oplog.wait.count.r

type: long

mongodb.status.locks.oplog.wait.count.w

type: long

mongodb.status.locks.oplog.wait.count.R

type: long

mongodb.status.locks.oplog.wait.count.W

type: long

mongodb.status.locks.oplog.wait.us.r

type: long

mongodb.status.locks.oplog.wait.us.w

type: long

mongodb.status.locks.oplog.wait.us.R

type: long

mongodb.status.locks.oplog.wait.us.W

type: long

mongodb.status.locks.oplog.deadlock.count.r

type: long

mongodb.status.locks.oplog.deadlock.count.w

type: long

mongodb.status.locks.oplog.deadlock.count.R

type: long

mongodb.status.locks.oplog.deadlock.count.W

type: long

network fieldsedit

Platform specific data.

mongodb.status.network.in.bytes

type: long

format: bytes

The amount of network traffic, in bytes, received by this database.

mongodb.status.network.out.bytes

type: long

format: bytes

The amount of network traffic, in bytes, sent from this database.

mongodb.status.network.requests

type: long

The total number of requests received by the server.

ops.latencies fieldsedit

Operation latencies for the database as a whole. Only mongod instances report this metric.

mongodb.status.ops.latencies.reads.latency

type: long

Total combined latency in microseconds.

mongodb.status.ops.latencies.reads.count

type: long

Total number of read operations performed on the collection since startup.

mongodb.status.ops.latencies.writes.latency

type: long

Total combined latency in microseconds.

mongodb.status.ops.latencies.writes.count

type: long

Total number of write operations performed on the collection since startup.

mongodb.status.ops.latencies.commands.latency

type: long

Total combined latency in microseconds.

mongodb.status.ops.latencies.commands.count

type: long

Total number of commands performed on the collection since startup.

ops.counters fieldsedit

An overview of database operations by type.

mongodb.status.ops.counters.insert

type: long

The total number of insert operations received since the mongod instance last started.

mongodb.status.ops.counters.query

type: long

The total number of queries received since the mongod instance last started.

mongodb.status.ops.counters.update

type: long

The total number of update operations received since the mongod instance last started.

mongodb.status.ops.counters.delete

type: long

The total number of delete operations received since the mongod instance last started.

mongodb.status.ops.counters.getmore

type: long

The total number of getmore operations received since the mongod instance last started.

mongodb.status.ops.counters.command

type: long

The total number of commands issued to the database since the mongod instance last started.

ops.replicated fieldsedit

An overview of database replication operations by type.

mongodb.status.ops.replicated.insert

type: long

The total number of replicated insert operations received since the mongod instance last started.

mongodb.status.ops.replicated.query

type: long

The total number of replicated queries received since the mongod instance last started.

mongodb.status.ops.replicated.update

type: long

The total number of replicated update operations received since the mongod instance last started.

mongodb.status.ops.replicated.delete

type: long

The total number of replicated delete operations received since the mongod instance last started.

mongodb.status.ops.replicated.getmore

type: long

The total number of replicated getmore operations received since the mongod instance last started.

mongodb.status.ops.replicated.command

type: long

The total number of replicated commands issued to the database since the mongod instance last started.

memory fieldsedit

Data about the current memory usage of the mongod server.

mongodb.status.memory.bits

type: long

Either 64 or 32, depending on which target architecture was specified during the mongod compilation process.

mongodb.status.memory.resident.mb

type: long

The amount of RAM, in megabytes (MB), currently used by the database process.

mongodb.status.memory.virtual.mb

type: long

The amount, in megabytes (MB), of virtual memory used by the mongod process.

mongodb.status.memory.mapped.mb

type: long

The amount of mapped memory, in megabytes (MB), used by the database. Because MongoDB uses memory-mapped files, this value is likely to be to be roughly equivalent to the total size of your database or databases.

mongodb.status.memory.mapped_with_journal.mb

type: long

The amount of mapped memory, in megabytes (MB), including the memory used for journaling.

mongodb.status.write_backs_queued

type: boolean

True when there are operations from a mongos instance queued for retrying.

mongodb.status.storage_engine.name

type: keyword

A string that represents the name of the current storage engine.

wired_tiger fieldsedit

Statistics about the WiredTiger storage engine.

concurrent_transactions fieldsedit

Statistics about the transactions currently in progress.

mongodb.status.wired_tiger.concurrent_transactions.write.out

type: long

Number of concurrent write transaction in progress.

mongodb.status.wired_tiger.concurrent_transactions.write.available

type: long

Number of concurrent write tickets available.

mongodb.status.wired_tiger.concurrent_transactions.write.total_tickets

type: long

Number of total write tickets.

mongodb.status.wired_tiger.concurrent_transactions.read.out

type: long

Number of concurrent read transaction in progress.

mongodb.status.wired_tiger.concurrent_transactions.read.available

type: long

Number of concurrent read tickets available.

mongodb.status.wired_tiger.concurrent_transactions.read.total_tickets

type: long

Number of total read tickets.

cache fieldsedit

Statistics about the cache and page evictions from the cache.

mongodb.status.wired_tiger.cache.maximum.bytes

type: long

format: bytes

Maximum cache size.

mongodb.status.wired_tiger.cache.used.bytes

type: long

format: bytes

Size in byte of the data currently in cache.

mongodb.status.wired_tiger.cache.dirty.bytes

type: long

format: bytes

Size in bytes of the dirty data in the cache.

mongodb.status.wired_tiger.cache.pages.read

type: long

Number of pages read into the cache.

mongodb.status.wired_tiger.cache.pages.write

type: long

Number of pages written from the cache.

mongodb.status.wired_tiger.cache.pages.evicted

type: long

Number of pages evicted from the cache.

log fieldsedit

Statistics about the write ahead log used by WiredTiger.

mongodb.status.wired_tiger.log.size.bytes

type: long

format: bytes

Total log size in bytes.

mongodb.status.wired_tiger.log.write.bytes

type: long

format: bytes

Number of bytes written into the log.

mongodb.status.wired_tiger.log.max_file_size.bytes

type: long

format: bytes

Maximum file size.

mongodb.status.wired_tiger.log.flushes

type: long

Number of flush operations.

mongodb.status.wired_tiger.log.writes

type: long

Number of write operations.

mongodb.status.wired_tiger.log.scans

type: long

Number of scan operations.

mongodb.status.wired_tiger.log.syncs

type: long

Number of sync operations.

background_flushing fieldsedit

Data about the process MongoDB uses to write data to disk. This data is only available for instances that use the MMAPv1 storage engine.

mongodb.status.background_flushing.flushes

type: long

A counter that collects the number of times the database has flushed all writes to disk.

mongodb.status.background_flushing.total.ms

type: long

The total number of milliseconds (ms) that the mongod processes have spent writing (i.e. flushing) data to disk. Because this is an absolute value, consider the value of flushes and average_ms to provide better context for this datum.

mongodb.status.background_flushing.average.ms

type: long

The average time spent flushing to disk per flush event.

mongodb.status.background_flushing.last.ms

type: long

The amount of time, in milliseconds, that the last flush operation took to complete.

mongodb.status.background_flushing.last_finished

type: date

A timestamp of the last completed flush operation.

journaling fieldsedit

Data about the journaling-related operations and performance. Journaling information only appears for mongod instances that use the MMAPv1 storage engine and have journaling enabled.

mongodb.status.journaling.commits

type: long

The number of transactions written to the journal during the last journal group commit interval.

mongodb.status.journaling.journaled.mb

type: long

The amount of data in megabytes (MB) written to journal during the last journal group commit interval.

mongodb.status.journaling.write_to_data_files.mb

type: long

The amount of data in megabytes (MB) written from journal to the data files during the last journal group commit interval.

mongodb.status.journaling.compression

type: long

The compression ratio of the data written to the journal.

mongodb.status.journaling.commits_in_write_lock

type: long

Count of the commits that occurred while a write lock was held. Commits in a write lock indicate a MongoDB node under a heavy write load and call for further diagnosis.

mongodb.status.journaling.early_commits

type: long

The number of times MongoDB requested a commit before the scheduled journal group commit interval.

times fieldsedit

Information about the performance of the mongod instance during the various phases of journaling in the last journal group commit interval.

mongodb.status.journaling.times.dt.ms

type: long

The amount of time over which MongoDB collected the times data. Use this field to provide context to the other times field values.

mongodb.status.journaling.times.prep_log_buffer.ms

type: long

The amount of time spent preparing to write to the journal. Smaller values indicate better journal performance.

mongodb.status.journaling.times.write_to_journal.ms

type: long

The amount of time spent actually writing to the journal. File system speeds and device interfaces can affect performance.

mongodb.status.journaling.times.write_to_data_files.ms

type: long

The amount of time spent writing to data files after journaling. File system speeds and device interfaces can affect performance.

mongodb.status.journaling.times.remap_private_view.ms

type: long

The amount of time spent remapping copy-on-write memory mapped views. Smaller values indicate better journal performance.

mongodb.status.journaling.times.commits.ms

type: long

The amount of time spent for commits.

mongodb.status.journaling.times.commits_in_write_lock.ms

type: long

The amount of time spent for commits that occurred while a write lock was held.