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 withagent.googleapis.com/mongodb
Google Cloud Monitoring Metrics | |
---|---|
/database/object/average_size Object Average Size | |
GAUGE, DOUBLE, By | Average object size of this resource. |
/database/collection/average_object_size Collections Average Object Size | |
GAUGE, DOUBLE, By | Average size of objects in this resource's collections. |
/collections Collections | |
GAUGE, DOUBLE, n/a | The number of collections. |
database_name: The name of the MongoDB server. | |
/database/collection/objects_count Collections Objects Count | |
GAUGE, INT64, n/a | Number of objects or documents in this resource's collections. |
/database/collection/size Collection Size | |
GAUGE, INT64, By | Size of all records in this resource's collections. |
/database/collection/storage_size Collections Storage Size | |
GAUGE, INT64, By | Storage size of all records in this resource's collections. |
/database/collection/total_index_size Collections Total Index Size | |
GAUGE, INT64, By | Total size of all in this resource's collections. |
/database/collection/total_indexes Collections Total Indexes | |
GAUGE, INT64, n/a | Number of indexes on this resource's collections. |
/data_size Data size | |
GAUGE, DOUBLE, By | The data size, in bytes. |
database_name: The name of the MongoDB server. | |
/database/disk/free Disk Free | |
GAUGE, INT64, By | Amount of unused/free disk space. |
/extents Extents | |
GAUGE, DOUBLE, n/a | The number of extents. |
database_name: The name of the MongoDB server. | |
/database/file/size File Size | |
GAUGE, INT64, By | Total file size for this resource. |
/database/freelist_extents Freelist Extents | |
GAUGE, INT64, n/a | Number of extents in the freelist for this resource. |
/index_size Index size | |
GAUGE, DOUBLE, By | The index size, in bytes. |
database_name: The name of the MongoDB server. | |
/indexes Indexes | |
GAUGE, DOUBLE, n/a | The number of indexes. |
database_name: The name of the MongoDB server. | |
/database/namespace_file_size Namespace File Size | |
GAUGE, INT64, MBy | Namespace file size for this resource. |
/objects Objects | |
GAUGE, DOUBLE, n/a | The number of objects. |
database_name: The name of the MongoDB server. | |
/storage_size Storage size | |
GAUGE, DOUBLE, By | The storage size, in bytes. |
database_name: The name of the MongoDB server. | |
/mongod/network/traffic_count Network Traffic Count | |
CUMULATIVE, INT64, By | Bytes sent and received by all databases of this resource. |
direction: Direction of traffic ('sent', 'received'). | |
/operation_count Operations | |
CUMULATIVE, INT64, Operations | The number of operations executed. |
operation: Operation performed ('command', 'delete', 'get_more', 'insert', 'query', 'update', 'fastmod'). | |
/mongod/assert/count Assert Count | |
CUMULATIVE, INT64, n/a | Number of assertions raised since the MongoDB process started. |
type: Type of assert ('message', 'regular', 'rollover', 'user', 'warning'). | |
/memory_usage Memory usage | |
GAUGE, DOUBLE, MBy | Mebibytes 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/a | Total number of cursors this environment maintains. |
/mongod/cursor/timed_out_count Cursor Timed Out Count | |
CUMULATIVE, INT64, n/a | Total number of cursors that have timed out. |
/mongod/cache/dirty Cache Dirty | |
GAUGE, INT64, By | Amount of dirty data in cache. |
/mongod/cache/current Cache Current | |
GAUGE, INT64, By | Amount of bytes currently in cache. |
/connections Connections | |
GAUGE, DOUBLE, n/a | The number of active server connections. |
database_name: The name of the MongoDB server. | |
/mongod/connection/available_count Connection Available Count | |
GAUGE, INT64, n/a | Number of unused incoming connections available to this resource. |
/mongod/background/flushing_average Background Flushing Average | |
GAUGE, INT64, ms | Average time for each flush to disk. |
/mongod/background/flushing_flushes Background Flushing Flushes | |
CUMULATIVE, INT64, n/a | Number of times the databases on this resource has flushed all writes to disk. |
/mongod/background/flushing_last Background Flushing Last | |
GAUGE, INT64, ms | Time it took the last flush operation to complete. |
/mongod/background/flushing_total Background Flushing Total | |
GAUGE, INT64, ms | Time the mongod processes have spent writing data to disk. |
/mongod/locks/deadlocks Lock Deadlocks | |
CUMULATIVE, INT64, n/a | Number 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/a | Number 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/a | Number 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, s | The time the global lock has been held. |
/mongod/locks/time Locks Time | |
CUMULATIVE, INT64, us | Time 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/a | Transactions written to journal during latest journal group commit interval. |
/mongod/commits_in_write_lock Commits In Write Lock | |
CUMULATIVE, INT64, n/a | Commits that occurred while a write lock was held. |
/mongod/log/compressed_records Compressed Log Records | |
CUMULATIVE, INT64, Records | Total Amount of journaling compressed records since last checkpoint. |
/mongod/memory/compressed_log_records Compressed Log Records in Memory | |
CUMULATIVE, INT64, By | Total memory used for storing compressed records. |
/mongod/log/compressed_records_size Compressed Log Records Size | |
CUMULATIVE, INT64, By | Total size of records compressed by WiredTiger since last checkpoint. |
/mongod/compression_ratio Compression Ratio | |
GAUGE, INT64, n/a | Compression Ratio of the data written to journal. |
/mongod/consolidated_logging Consolidated Logging | |
GAUGE, DOUBLE, By | Amount of logging data consolidated. |
/mongod/created_connections Created Connections | |
CUMULATIVE, INT64, n/a | Count of all incoming connections created to this resource. |
/mongod/data_journaled Data Journaled | |
GAUGE, INT64, MBy | Data written to journal during latest journal group commit interval. |
/mongod/delay_behind_primary Delay Behind Primary | |
GAUGE, INT64, s | Mongod delay behind the primary not accounting for the slave delay. |
/mongod/documents/operation_count Documents Operations Count | |
CUMULATIVE, INT64, n/a | Number of document operations performed. |
operation: The type of document operation (moved, deleted, inserted, returned, updated) | |
/mongod/early_commits Early Commits | |
CUMULATIVE, INT64, n/a | Requested commits before the scheduled journal group commit interval. |
/mongod/log/forced_writes_skipped Forced Log Writes Skipped | |
CUMULATIVE, INT64, Operations | Amount of forced log write operations that were skipped. |
/mongod/global_lock/active_client_readers Global Lock Active Client Readers | |
GAUGE, INT64, n/a | Number of active client connections performing read operations. |
/mongod/global_lock/active_client_writers Global Lock Active Client Writers | |
GAUGE, INT64, n/a | Number of active client connections performing write operations. |
/mongod/global_lock/active_clients_total Global Lock Active Clients Total | |
GAUGE, INT64, n/a | Number of active client connections to the database. |
/mongod/global_lock/current_queue_readers Global Lock Current Queue Readers | |
GAUGE, INT64, n/a | Number of operations currently queued and waiting for the read lock. |
/mongod/global_lock/current_queue_total Global Lock Current Queue Total | |
GAUGE, INT64, n/a | Number of operations queued waiting for the lock. |
/mongod/global_lock/current_queue_writers Global Lock Current Queue Writers | |
GAUGE, INT64, n/a | Number of operations currently queued and waiting for the write lock. |
/mongod/global_lock/total_time Global Lock Total Time | |
GAUGE, INT64, us | Time since database last started and created the globalLock. |
/mongod/memory/heap_used Heap Used | |
GAUGE, INT64, By | Heap used by this resources database processes. |
/mongod/idhack_queries Idhack Queries | |
CUMULATIVE, INT64, n/a | Number 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, By | WiredTiger total storage size of log buffer. |
/mongod/log/file_yields Log File Yields | |
CUMULATIVE, INT64, n/a | Count of delayed journal writes waiting for previous log file to close. |
/mongod/log/payload_size Log Payload Size | |
CUMULATIVE, INT64, By | Data size of log payload data. |
/mongod/log/record_scans Logs Record Scans | |
CUMULATIVE, INT64, Scans | Amount of records processed by log scan. |
/mongod/log/record_scans_requiring_two_reads Log Records Scans Requiring Two Reads | |
CUMULATIVE, INT64, Scans | Amount of records requiring two reads when log scanned. |
/mongod/log/operation_count Log Count | |
CUMULATIVE, INT64, Operations | Number of log operations. |
type: The type of operation. | |
/mongod/log/maximum_size Maximum Log Size | |
GAUGE, DOUBLE, By | Max size a log file can be before a new file is created. |
/mongod/network/request_count Network Request Count | |
CUMULATIVE, INT64, n/a | Number of requests this resource has received. |
/mongod/tickets/out Out Tickets | |
GAUGE, INT64, n/a | Number of outgoing tickets. |
operation: The operation of the out ticket (read, write). | |
/cache/misses Cache misses | |
CUMULATIVE, INT64, n/a | The number of cache misses. |
/cache/requests Cache Pages Requested | |
CUMULATIVE, INT64, n/a | Number of pages requested from cache. |
/mongod/log/preallocated_files_queued Preallocated Log Files Queued | |
GAUGE, INT64, n/a | Amount of pre-allocated log files queued to write to disk. |
/mongod/log/preallocated_log_files_used Preallocated Log Files Used | |
GAUGE, INT64, n/a | Amount of pre-allocated log files used. |
/mongod/log/preallocated_prepared_log_files Preallocated Prepared Log Files | |
GAUGE, INT64, n/a | Amount of pre-allocated log files prepared to write to disk. |
/mongod/log/preallocated_unready_files Preallocated Unready Log Files | |
GAUGE, INT64, n/a | Amount of pre-allocated log files that are not ready and missed. |
/mongod/cache/throughput Cache Throughput | |
CUMULATIVE, INT64, By | Bytes read and wrote to cache. |
operation: Type of operation coming from the cache (read, written). | |
/mongod/tickets Tickets | |
GAUGE, INT64, n/a | Number of Read and Write Tickets |
operation: Type of operation (read, write) | |
/mongod/replication/operation_count Replicated Operations Count | |
CUMULATIVE, INT64, Operations | Number of replicated operations |
operation: The type of operation (delete, get_more, insert, query, update) | |
/mongod/replication/total_count Replication Command Count | |
CUMULATIVE, INT64, Operations | Number of replicated database commands since mongod instance last started. |
/mongod/slave_delay Slave Delay | |
GAUGE, INT64, s | Intentional lag time behind the primary of this resource's replica set. |
/mongod/slots_coalesced Slots Coalesced | |
GAUGE, INT64, Writes | Amount of written slots coalesced. |
/mongod/sort_queries Sort Queries | |
CUMULATIVE, INT64, n/a | Number of queries that return sorted numbers that cannot perform the sort operation using an index. |
/mongod/switch_slot_attempts Switch Slot Attempts | |
CUMULATIVE, INT64, Attempts | Amount of busy returns attempting to switch slots. |
/mongod/log/uncompressed_records Uncompressed Log Records | |
CUMULATIVE, INT64, Records | Total number of uncompressed journal log records since last checkpoint. |
/mongod/vote_count Vote Count | |
GAUGE, INT64, n/a | Number of votes this resource will have in a replica set election. |
/mongod/write_backs_queued Write Backs Queued | |
GAUGE, BOOL, n/a | Indicates if there are operations from a mongos instance queued for retrying. |
/mongod/write_conflict_queries Write Conflict Queries | |
CUMULATIVE, INT64, n/a | Number 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, MBy | Data written from journal during latest journal group commit interval. |
/mongod/tickets/available Available Tickets | |
GAUGE, INT64, n/a | Number 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, Records | Number of journal records uncompressed because they were 128 bytes or smaller in size. |
/mongod/page_faults Page Faults | |
CUMULATIVE, INT64, n/a | Total number of page faults. |
/mongod/log/written_log_data Written Log Data | |
CUMULATIVE, INT64, By | Amount of data written to logs using WiredTiger storage engine since last checkin. |
/mongos/network/traffic_count Network Traffic Count | |
CUMULATIVE, INT64, By | Bytes sent and received by all databases of this resource. |
direction: Direction of traffic ('sent', 'received'). | |
/mongos/assert/count Assert Count | |
CUMULATIVE, INT64, n/a | Number 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/a | Number of unused incoming connections available to this resource. |
/mongos/background/flushing_average Background Flushing: Average | |
GAUGE, INT64, ms | Average time for each flush to disk. |
/mongos/background/flushing_flushes Background Flushing: Flushes | |
CUMULATIVE, INT64, n/a | Number of times the databases on this resource has flushed all writes to disk. |
/mongos/background/flushing_last Background Flushing: Last | |
GAUGE, INT64, ms | Time it took the last flush operation to complete. |
/mongos/background/flushing_total Background Flushing: Total | |
GAUGE, INT64, ms | Time 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/a | Count of all incoming connections created to this resource. |
/connections Connections | |
GAUGE, DOUBLE, n/a | The number of active server connections. |
database_name: The name of the MongoDB server. | |
/mongos/heap_used Heap Used | |
GAUGE, INT64, By | Heap used by this resources database processes. |
/mongos/network/request_count Network Request Count | |
CUMULATIVE, INT64, n/a | Number of requests this resource has received. |
/mongos/memory/page_fault_count Memory Page Fault Count | |
CUMULATIVE, INT64, n/a | Total number of page faults. |
/memory_usage Memory usage | |
GAUGE, DOUBLE, MBy | Mebibytes 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/a | The 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/a | The ratio of Page Faults to Operations is greater than or equal to one. |
/operation_count Operations | |
CUMULATIVE, INT64, Operations | The 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/a | Number of Data Bearing Mongods that are not Arbiters. |
/replica_set/heartbeat_interval Heartbeat Interval | |
GAUGE, INT64, ms | Frequency of this resource's heartbeats. |
/replica_set/last_error_default Last Error Default | |
GAUGE, INT64, n/a | Last error default of this resource. |
/replica_set/last_error_modes Last Error Modes | |
GAUGE, INT64, n/a | Last error modes of this resource. |
/replica_set/odd_votes_count Odd Votes Count | |
GAUGE, BOOL, n/a | Replica Set odd votes. 1 if odd, 0 if even. |
/replica_set/request_votes Request Votes | |
GAUGE, INT64, n/a | Total request votes in a replica set. |
Updated almost 5 years ago