Google Cloud Monitoring Metrics

Key
Metric Type
Display Name
Kind, Type, Unit Description
Labels

🚧

Metric prefixes

All metrics listed below are prefixed with external.googleapis.com/bluemedora/generic_node/mongodb except for the metrics that are also listed in the associated Stackdriver Agent Migration page. If the collector is installed on the MongoDB host system, the metrics listed there will be prefixed with agent.googleapis.com/mongodb

Google Cloud Monitoring Metrics
/database/object/average_size
Object Average Size
GAUGE, DOUBLE, ByAverage object size of this resource.
/database/collection/average_object_size
Collections Average Object Size
GAUGE, DOUBLE, ByAverage size of objects in this resource's collections.
/collections
Collections
GAUGE, DOUBLE, n/aThe number of collections.
database_name: The name of the MongoDB server.
/database/collection/objects_count
Collections Objects Count
GAUGE, INT64, n/aNumber of objects or documents in this resource's collections.
/database/collection/size
Collection Size
GAUGE, INT64, BySize of all records in this resource's collections.
/database/collection/storage_size
Collections Storage Size
GAUGE, INT64, ByStorage size of all records in this resource's collections.
/database/collection/total_index_size
Collections Total Index Size
GAUGE, INT64, ByTotal size of all in this resource's collections.
/database/collection/total_indexes
Collections Total Indexes
GAUGE, INT64, n/aNumber of indexes on this resource's collections.
/data_size
Data size
GAUGE, DOUBLE, ByThe data size, in bytes.
database_name: The name of the MongoDB server.
/database/disk/free
Disk Free
GAUGE, INT64, ByAmount of unused/free disk space.
/extents
Extents
GAUGE, DOUBLE, n/aThe number of extents.
database_name: The name of the MongoDB server.
/database/file/size
File Size
GAUGE, INT64, ByTotal file size for this resource.
/database/freelist_extents
Freelist Extents
GAUGE, INT64, n/aNumber of extents in the freelist for this resource.
/index_size
Index size
GAUGE, DOUBLE, ByThe index size, in bytes.
database_name: The name of the MongoDB server.
/indexes
Indexes
GAUGE, DOUBLE, n/aThe number of indexes.
database_name: The name of the MongoDB server.
/database/namespace_file_size
Namespace File Size
GAUGE, INT64, MByNamespace file size for this resource.
/objects
Objects
GAUGE, DOUBLE, n/aThe number of objects.
database_name: The name of the MongoDB server.
/storage_size
Storage size
GAUGE, DOUBLE, ByThe storage size, in bytes.
database_name: The name of the MongoDB server.
/mongod/network/traffic_count
Network Traffic Count
CUMULATIVE, INT64, ByBytes sent and received by all databases of this resource.
direction: Direction of traffic ('sent', 'received').
/operation_count
Operations
CUMULATIVE, INT64, OperationsThe number of operations executed.
operation: Operation performed ('command', 'delete', 'get_more', 'insert', 'query', 'update', 'fastmod').
/mongod/assert/count
Assert Count
CUMULATIVE, INT64, n/aNumber of assertions raised since the MongoDB process started.
type: Type of assert ('message', 'regular', 'rollover', 'user', 'warning').
/memory_usage
Memory usage
GAUGE, DOUBLE, MByMebibytes of memory used.
memory_type: Memory usage (mapped, resident, virtual).
database_name: The name of the MongoDB server.
/mongod/cursor/open_count
Cursor Open Count
GAUGE, INT64, n/aTotal number of cursors this environment maintains.
/mongod/cursor/timed_out_count
Cursor Timed Out Count
CUMULATIVE, INT64, n/aTotal number of cursors that have timed out.
/mongod/cache/dirty
Cache Dirty
GAUGE, INT64, ByAmount of dirty data in cache.
/mongod/cache/current
Cache Current
GAUGE, INT64, ByAmount of bytes currently in cache.
/connections
Connections
GAUGE, DOUBLE, n/aThe number of active server connections.
database_name: The name of the MongoDB server.
/mongod/connection/available_count
Connection Available Count
GAUGE, INT64, n/aNumber of unused incoming connections available to this resource.
/mongod/background/flushing_average
Background Flushing Average
GAUGE, INT64, msAverage time for each flush to disk.
/mongod/background/flushing_flushes
Background Flushing Flushes
CUMULATIVE, INT64, n/aNumber of times the databases on this resource has flushed all writes to disk.
/mongod/background/flushing_last
Background Flushing Last
GAUGE, INT64, msTime it took the last flush operation to complete.
/mongod/background/flushing_total
Background Flushing Total
GAUGE, INT64, msTime the mongod processes have spent writing data to disk.
/mongod/locks/deadlocks
Lock Deadlocks
CUMULATIVE, INT64, n/aNumber of times lock acquisitions encountered deadlocks on this resource.
mode: The mode of lock deadlock (exclusive, shared, intent_shared, intent_exclusive)
level: The granular level of the deadlock (global, database, collection, document).
/mongod/locks/waits
Locks Waits
CUMULATIVE, INT64, n/aNumber of times lock acquisitions encountered waits because locks were held in a conflicting mode.
mode: The mode of lock wait (exclusive, shared, intent_shared, intent_exclusive).
level: The granular level of the lock (global, database, collection).
/mongod/locks/acquired
Locks Acquired
CUMULATIVE, INT64, n/aNumber of times a lock was acquired.
mode: The mode of lock acquire (exclusive, shared, intent_shared, intent_exclusive)
level: The granular level of the lock (global, database, collection, document).
/global_lock_hold_time
Global lock time
CUMULATIVE, INT64, sThe time the global lock has been held.
/mongod/locks/time
Locks Time
CUMULATIVE, INT64, usTime waiting for lock acquisitions because locks were held in a conflicting mode.
mode: The mode of lock wait (exclusive, shared, intent_shared, intent_exclusive)
level: The granular level of the lock (global, database, collection, document).
/mongod/commits
Commits
CUMULATIVE, INT64, n/aTransactions written to journal during latest journal group commit interval.
/mongod/commits_in_write_lock
Commits In Write Lock
CUMULATIVE, INT64, n/aCommits that occurred while a write lock was held.
/mongod/log/compressed_records
Compressed Log Records
CUMULATIVE, INT64, RecordsTotal Amount of journaling compressed records since last checkpoint.
/mongod/memory/compressed_log_records
Compressed Log Records in Memory
CUMULATIVE, INT64, ByTotal memory used for storing compressed records.
/mongod/log/compressed_records_size
Compressed Log Records Size
CUMULATIVE, INT64, ByTotal size of records compressed by WiredTiger since last checkpoint.
/mongod/compression_ratio
Compression Ratio
GAUGE, INT64, n/aCompression Ratio of the data written to journal.
/mongod/consolidated_logging
Consolidated Logging
GAUGE, DOUBLE, ByAmount of logging data consolidated.
/mongod/created_connections
Created Connections
CUMULATIVE, INT64, n/aCount of all incoming connections created to this resource.
/mongod/data_journaled
Data Journaled
GAUGE, INT64, MByData written to journal during latest journal group commit interval.
/mongod/delay_behind_primary
Delay Behind Primary
GAUGE, INT64, sMongod delay behind the primary not accounting for the slave delay.
/mongod/documents/operation_count
Documents Operations Count
CUMULATIVE, INT64, n/aNumber of document operations performed.
operation: The type of document operation (moved, deleted, inserted, returned, updated)
/mongod/early_commits
Early Commits
CUMULATIVE, INT64, n/aRequested commits before the scheduled journal group commit interval.
/mongod/log/forced_writes_skipped
Forced Log Writes Skipped
CUMULATIVE, INT64, OperationsAmount of forced log write operations that were skipped.
/mongod/global_lock/active_client_readers
Global Lock Active Client Readers
GAUGE, INT64, n/aNumber of active client connections performing read operations.
/mongod/global_lock/active_client_writers
Global Lock Active Client Writers
GAUGE, INT64, n/aNumber of active client connections performing write operations.
/mongod/global_lock/active_clients_total
Global Lock Active Clients Total
GAUGE, INT64, n/aNumber of active client connections to the database.
/mongod/global_lock/current_queue_readers
Global Lock Current Queue Readers
GAUGE, INT64, n/aNumber of operations currently queued and waiting for the read lock.
/mongod/global_lock/current_queue_total
Global Lock Current Queue Total
GAUGE, INT64, n/aNumber of operations queued waiting for the lock.
/mongod/global_lock/current_queue_writers
Global Lock Current Queue Writers
GAUGE, INT64, n/aNumber of operations currently queued and waiting for the write lock.
/mongod/global_lock/total_time
Global Lock Total Time
GAUGE, INT64, usTime since database last started and created the globalLock.
/mongod/memory/heap_used
Heap Used
GAUGE, INT64, ByHeap used by this resources database processes.
/mongod/idhack_queries
Idhack Queries
CUMULATIVE, INT64, n/aNumber of queries that contain the _id field.
/mongod/io/wait_time
IO Wait Time
GAUGE, DOUBLE, %Percentage of time waiting for lock acquisitions.
/mongod/log/buffer_size
Log Buffer Size
GAUGE, DOUBLE, ByWiredTiger total storage size of log buffer.
/mongod/log/file_yields
Log File Yields
CUMULATIVE, INT64, n/aCount of delayed journal writes waiting for previous log file to close.
/mongod/log/payload_size
Log Payload Size
CUMULATIVE, INT64, ByData size of log payload data.
/mongod/log/record_scans
Logs Record Scans
CUMULATIVE, INT64, ScansAmount of records processed by log scan.
/mongod/log/record_scans_requiring_two_reads
Log Records Scans Requiring Two Reads
CUMULATIVE, INT64, ScansAmount of records requiring two reads when log scanned.
/mongod/log/operation_count
Log Count
CUMULATIVE, INT64, OperationsNumber of log operations.
type: The type of operation.
/mongod/log/maximum_size
Maximum Log Size
GAUGE, DOUBLE, ByMax size a log file can be before a new file is created.
/mongod/network/request_count
Network Request Count
CUMULATIVE, INT64, n/aNumber of requests this resource has received.
/mongod/tickets/out
Out Tickets
GAUGE, INT64, n/aNumber of outgoing tickets.
operation: The operation of the out ticket (read, write).
/cache/misses
Cache misses
CUMULATIVE, INT64, n/aThe number of cache misses.
/cache/requests
Cache Pages Requested
CUMULATIVE, INT64, n/aNumber of pages requested from cache.
/mongod/log/preallocated_files_queued
Preallocated Log Files Queued
GAUGE, INT64, n/aAmount of pre-allocated log files queued to write to disk.
/mongod/log/preallocated_log_files_used
Preallocated Log Files Used
GAUGE, INT64, n/aAmount of pre-allocated log files used.
/mongod/log/preallocated_prepared_log_files
Preallocated Prepared Log Files
GAUGE, INT64, n/aAmount of pre-allocated log files prepared to write to disk.
/mongod/log/preallocated_unready_files
Preallocated Unready Log Files
GAUGE, INT64, n/aAmount of pre-allocated log files that are not ready and missed.
/mongod/cache/throughput
Cache Throughput
CUMULATIVE, INT64, ByBytes read and wrote to cache.
operation: Type of operation coming from the cache (read, written).
/mongod/tickets
Tickets
GAUGE, INT64, n/aNumber of Read and Write Tickets
operation: Type of operation (read, write)
/mongod/replication/operation_count
Replicated Operations Count
CUMULATIVE, INT64, OperationsNumber of replicated operations
operation: The type of operation (delete, get_more, insert, query, update)
/mongod/replication/total_count
Replication Command Count
CUMULATIVE, INT64, OperationsNumber of replicated database commands since mongod instance last started.
/mongod/slave_delay
Slave Delay
GAUGE, INT64, sIntentional lag time behind the primary of this resource's replica set.
/mongod/slots_coalesced
Slots Coalesced
GAUGE, INT64, WritesAmount of written slots coalesced.
/mongod/sort_queries
Sort Queries
CUMULATIVE, INT64, n/aNumber of queries that return sorted numbers that cannot perform the sort operation using an index.
/mongod/switch_slot_attempts
Switch Slot Attempts
CUMULATIVE, INT64, AttemptsAmount of busy returns attempting to switch slots.
/mongod/log/uncompressed_records
Uncompressed Log Records
CUMULATIVE, INT64, RecordsTotal number of uncompressed journal log records since last checkpoint.
/mongod/vote_count
Vote Count
GAUGE, INT64, n/aNumber of votes this resource will have in a replica set election.
/mongod/write_backs_queued
Write Backs Queued
GAUGE, BOOL, n/aIndicates if there are operations from a mongos instance queued for retrying.
/mongod/write_conflict_queries
Write Conflict Queries
CUMULATIVE, INT64, n/aNumber of queries that encountered write conflicts.
/mongod/write_lock
Write Lock
GAUGE, DOUBLE, %Percentage of writes encountered locks.
/mongod/written_to_data_files
Written to Data Files
GAUGE, INT64, MByData written from journal during latest journal group commit interval.
/mongod/tickets/available
Available Tickets
GAUGE, INT64, n/aNumber of available read and write tickets.
operation: Type of operation (read, write).
/mongod/log/too_small_uncompressed_log_records
Too Small Uncompressed Log Records
CUMULATIVE, INT64, RecordsNumber of journal records uncompressed because they were 128 bytes or smaller in size.
/mongod/page_faults
Page Faults
CUMULATIVE, INT64, n/aTotal number of page faults.
/mongod/log/written_log_data
Written Log Data
CUMULATIVE, INT64, ByAmount of data written to logs using WiredTiger storage engine since last checkin.
/mongos/network/traffic_count
Network Traffic Count
CUMULATIVE, INT64, ByBytes sent and received by all databases of this resource.
direction: Direction of traffic ('sent', 'received').
/mongos/assert/count
Assert Count
CUMULATIVE, INT64, n/aNumber of assertions raised since the MongoDB process started.
type: Type of assert ('message', 'regular', 'rollover', 'user', 'warning').
/mongos/connection/available_count
Connection Available Count
GAUGE, INT64, n/aNumber of unused incoming connections available to this resource.
/mongos/background/flushing_average
Background Flushing: Average
GAUGE, INT64, msAverage time for each flush to disk.
/mongos/background/flushing_flushes
Background Flushing: Flushes
CUMULATIVE, INT64, n/aNumber of times the databases on this resource has flushed all writes to disk.
/mongos/background/flushing_last
Background Flushing: Last
GAUGE, INT64, msTime it took the last flush operation to complete.
/mongos/background/flushing_total
Background Flushing: Total
GAUGE, INT64, msTime the mongod processes have spent writing data to disk.
/mongos/connections/utilization
Connections Utilization
GAUGE, DOUBLE, %The percent of connections being used.
/mongos/created_connections
Created Connections
CUMULATIVE, INT64, n/aCount of all incoming connections created to this resource.
/connections
Connections
GAUGE, DOUBLE, n/aThe number of active server connections.
database_name: The name of the MongoDB server.
/mongos/heap_used
Heap Used
GAUGE, INT64, ByHeap used by this resources database processes.
/mongos/network/request_count
Network Request Count
CUMULATIVE, INT64, n/aNumber of requests this resource has received.
/mongos/memory/page_fault_count
Memory Page Fault Count
CUMULATIVE, INT64, n/aTotal number of page faults.
/memory_usage
Memory usage
GAUGE, DOUBLE, MByMebibytes of memory used.
memory_type: Memory usage (mapped, resident, virtual).
database_name: The name of the MongoDB server.
/mongos/page_faults_to_operations_ratio
Page Faults to Operations Ratio
GAUGE, DOUBLE, n/aThe ratio of Page Faults to Operations.
/mongos/page_faults_to_operations_ratio_greater_than_1
Page Faults to Operations Ratio Greater Than 1
GAUGE, BOOL, n/aThe ratio of Page Faults to Operations is greater than or equal to one.
/operation_count
Operations
CUMULATIVE, INT64, OperationsThe number of operations executed.
operation: Operation performed ('command', 'delete', 'get_more', 'insert', 'query', 'update', 'fastmod').
/replica_set/data_bearing_nodes
Data Bearing Nodes
GAUGE, INT64, n/aNumber of Data Bearing Mongods that are not Arbiters.
/replica_set/heartbeat_interval
Heartbeat Interval
GAUGE, INT64, msFrequency of this resource's heartbeats.
/replica_set/last_error_default
Last Error Default
GAUGE, INT64, n/aLast error default of this resource.
/replica_set/last_error_modes
Last Error Modes
GAUGE, INT64, n/aLast error modes of this resource.
/replica_set/odd_votes_count
Odd Votes Count
GAUGE, BOOL, n/aReplica Set odd votes. 1 if odd, 0 if even.
/replica_set/request_votes
Request Votes
GAUGE, INT64, n/aTotal request votes in a replica set.