This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/mongodbatlasreceiver.md.

MongoDB Atlas Receiver

OpenTelemetry Collector receiver · contrib distribution

The MongoDB Atlas Receiver receives metrics from MongoDB Atlas via their monitoring APIs, as well as alerts via a configured webhook and events from events APIs.

  • Component ID: contrib-mongodbatlasreceiver
  • Name: mongodbatlasreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
betalogs, metrics

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
mongodbatlas.db.countsgaugedouble{objects}developmentyesobject_type (string)Database feature size Aggregate of MongoDB Metrics DATABASE_EXTENT_COUNT, DATABASE_VIEW_COUNT, DATABASE_COLLECTION_COUNT, DATABASE_OBJECT_COUNT, DATABASE_INDEX_COUNT
mongodbatlas.db.sizegaugedoubleBydevelopmentyesobject_type (string)Database feature size Aggregate of MongoDB Metrics DATABASE_DATA_SIZE, DATABASE_STORAGE_SIZE, DATABASE_INDEX_SIZE, DATABASE_AVERAGE_OBJECT_SIZE
mongodbatlas.disk.partition.iops.averagegaugedouble{ops}/sdevelopmentyesdisk_direction (string)Disk partition iops Aggregate of MongoDB Metrics DISK_PARTITION_IOPS_READ, DISK_PARTITION_IOPS_WRITE, DISK_PARTITION_IOPS_TOTAL
mongodbatlas.disk.partition.iops.maxgaugedouble{ops}/sdevelopmentyesdisk_direction (string)Disk partition iops Aggregate of MongoDB Metrics MAX_DISK_PARTITION_IOPS_WRITE, MAX_DISK_PARTITION_IOPS_TOTAL, MAX_DISK_PARTITION_IOPS_READ
mongodbatlas.disk.partition.latency.averagegaugedoublemsdevelopmentyesdisk_direction (string)Disk partition latency Aggregate of MongoDB Metrics DISK_PARTITION_LATENCY_WRITE, DISK_PARTITION_LATENCY_READ
mongodbatlas.disk.partition.latency.maxgaugedoublemsdevelopmentyesdisk_direction (string)Disk partition latency Aggregate of MongoDB Metrics MAX_DISK_PARTITION_LATENCY_WRITE, MAX_DISK_PARTITION_LATENCY_READ
mongodbatlas.disk.partition.queue.depthgaugedouble1developmentnoDisk queue depth Aggregate of MongoDB Metrics DISK_QUEUE_DEPTH
mongodbatlas.disk.partition.space.averagegaugedoubleBydevelopmentyesdisk_status (string)Disk partition space Aggregate of MongoDB Metrics DISK_PARTITION_SPACE_FREE, DISK_PARTITION_SPACE_USED
mongodbatlas.disk.partition.space.maxgaugedoubleBydevelopmentyesdisk_status (string)Disk partition space Aggregate of MongoDB Metrics DISK_PARTITION_SPACE_FREE, DISK_PARTITION_SPACE_USED
mongodbatlas.disk.partition.throughputgaugedoubleBy/sdevelopmentnodisk_direction (string)Disk throughput Aggregate of MongoDB Metrics DISK_PARTITION_THROUGHPUT_READ, DISK_PARTITION_THROUGHPUT_WRITE
mongodbatlas.disk.partition.usage.averagegaugedouble1developmentyesdisk_status (string)Disk partition usage (%) Aggregate of MongoDB Metrics DISK_PARTITION_SPACE_PERCENT_FREE, DISK_PARTITION_SPACE_PERCENT_USED
mongodbatlas.disk.partition.usage.maxgaugedouble1developmentyesdisk_status (string)Disk partition usage (%) Aggregate of MongoDB Metrics MAX_DISK_PARTITION_SPACE_PERCENT_USED, MAX_DISK_PARTITION_SPACE_PERCENT_FREE
mongodbatlas.disk.partition.utilization.averagegaugedouble1developmentyesThe percentage of time during which requests are being issued to and serviced by the partition. MongoDB Metrics DISK_PARTITION_UTILIZATION
mongodbatlas.disk.partition.utilization.maxgaugedouble1developmentyesThe maximum percentage of time during which requests are being issued to and serviced by the partition. MongoDB Metrics MAX_DISK_PARTITION_UTILIZATION
mongodbatlas.process.assertsgaugedouble{assertions}/sdevelopmentyesassert_type (string)Number of assertions per second Aggregate of MongoDB Metrics ASSERT_REGULAR, ASSERT_USER, ASSERT_MSG, ASSERT_WARNING
mongodbatlas.process.background_flushgaugedouble1developmentyesAmount of data flushed in the background MongoDB Metric BACKGROUND_FLUSH_AVG
mongodbatlas.process.cache.iogaugedoubleBydevelopmentyescache_direction (string)Cache throughput (per second) Aggregate of MongoDB Metrics CACHE_BYTES_READ_INTO, CACHE_BYTES_WRITTEN_FROM
mongodbatlas.process.cache.ratiogaugedouble%developmentnocache_ratio_type (string)Cache ratios represented as (%) Aggregate of MongoDB Metrics CACHE_FILL_RATIO, DIRTY_FILL_RATIO
mongodbatlas.process.cache.sizesumdoubleBydevelopmentyescache_status (string)Cache sizes Aggregate of MongoDB Metrics CACHE_USED_BYTES, CACHE_DIRTY_BYTES
mongodbatlas.process.connectionssumdouble{connections}developmentyesNumber of current connections MongoDB Metric CONNECTIONS
mongodbatlas.process.cpu.children.normalized.usage.averagegaugedouble1developmentyescpu_state (string)CPU Usage for child processes, normalized to pct Aggregate of MongoDB Metrics PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL, PROCESS_NORMALIZED_CPU_CHILDREN_USER
mongodbatlas.process.cpu.children.normalized.usage.maxgaugedouble1developmentyescpu_state (string)CPU Usage for child processes, normalized to pct Aggregate of MongoDB Metrics MAX_PROCESS_NORMALIZED_CPU_CHILDREN_KERNEL, MAX_PROCESS_NORMALIZED_CPU_CHILDREN_USER
mongodbatlas.process.cpu.children.usage.averagegaugedouble1developmentyescpu_state (string)CPU Usage for child processes (%) Aggregate of MongoDB Metrics PROCESS_CPU_CHILDREN_KERNEL, PROCESS_CPU_CHILDREN_USER
mongodbatlas.process.cpu.children.usage.maxgaugedouble1developmentyescpu_state (string)CPU Usage for child processes (%) Aggregate of MongoDB Metrics MAX_PROCESS_CPU_CHILDREN_USER, MAX_PROCESS_CPU_CHILDREN_KERNEL
mongodbatlas.process.cpu.normalized.usage.averagegaugedouble1developmentyescpu_state (string)CPU Usage, normalized to pct Aggregate of MongoDB Metrics PROCESS_NORMALIZED_CPU_KERNEL, PROCESS_NORMALIZED_CPU_USER
mongodbatlas.process.cpu.normalized.usage.maxgaugedouble1developmentyescpu_state (string)CPU Usage, normalized to pct Aggregate of MongoDB Metrics MAX_PROCESS_NORMALIZED_CPU_USER, MAX_PROCESS_NORMALIZED_CPU_KERNEL
mongodbatlas.process.cpu.usage.averagegaugedouble1developmentyescpu_state (string)CPU Usage (%) Aggregate of MongoDB Metrics PROCESS_CPU_KERNEL, PROCESS_CPU_USER
mongodbatlas.process.cpu.usage.maxgaugedouble1developmentyescpu_state (string)CPU Usage (%) Aggregate of MongoDB Metrics MAX_PROCESS_CPU_KERNEL, MAX_PROCESS_CPU_USER
mongodbatlas.process.cursorsgaugedouble{cursors}developmentyescursor_state (string)Number of cursors Aggregate of MongoDB Metrics CURSORS_TOTAL_OPEN, CURSORS_TOTAL_TIMED_OUT
mongodbatlas.process.db.document.rategaugedouble{documents}/sdevelopmentyesdocument_status (string)Document access rates Aggregate of MongoDB Metrics DOCUMENT_METRICS_UPDATED, DOCUMENT_METRICS_DELETED, DOCUMENT_METRICS_RETURNED, DOCUMENT_METRICS_INSERTED
mongodbatlas.process.db.operations.rategaugedouble{operations}/sdevelopmentyescluster_role (string), operation (string)DB Operation Rates Aggregate of MongoDB Metrics OPCOUNTER_GETMORE, OPERATIONS_SCAN_AND_ORDER, OPCOUNTER_UPDATE, OPCOUNTER_REPL_UPDATE, OPCOUNTER_CMD, OPCOUNTER_DELETE, OPCOUNTER_REPL_DELETE, OPCOUNTER_REPL_CMD, OPCOUNTER_QUERY, OPCOUNTER_REPL_INSERT, OPCOUNTER_INSERT, OPCOUNTER_TTL_DELETED
mongodbatlas.process.db.operations.timesum (monotonic)doublemsdevelopmentyesexecution_type (string)DB Operation Times Aggregate of MongoDB Metrics OP_EXECUTION_TIME_WRITES, OP_EXECUTION_TIME_COMMANDS, OP_EXECUTION_TIME_READS
mongodbatlas.process.db.query_executor.scannedgaugedouble{objects}/sdevelopmentyesscanned_type (string)Scanned objects Aggregate of MongoDB Metrics QUERY_EXECUTOR_SCANNED_OBJECTS, QUERY_EXECUTOR_SCANNED
mongodbatlas.process.db.query_targeting.scanned_per_returnedgaugedouble{scanned}/{returned}developmentyesscanned_type (string)Scanned objects per returned Aggregate of MongoDB Metrics QUERY_TARGETING_SCANNED_OBJECTS_PER_RETURNED, QUERY_TARGETING_SCANNED_PER_RETURNED
mongodbatlas.process.db.storagegaugedoubleBydevelopmentyesstorage_status (string)Storage used by the database Aggregate of MongoDB Metrics DB_INDEX_SIZE_TOTAL, DB_DATA_SIZE_TOTAL_WO_SYSTEM, DB_STORAGE_TOTAL, DB_DATA_SIZE_TOTAL
mongodbatlas.process.global_lockgaugedouble{locks}developmentyesglobal_lock_state (string)Number and status of locks Aggregate of MongoDB Metrics GLOBAL_LOCK_CURRENT_QUEUE_WRITERS, GLOBAL_LOCK_CURRENT_QUEUE_READERS, GLOBAL_LOCK_CURRENT_QUEUE_TOTAL
mongodbatlas.process.index.btree_miss_ratiogaugedouble1developmentyesIndex miss ratio (%) MongoDB Metric INDEX_COUNTERS_BTREE_MISS_RATIO
mongodbatlas.process.index.countersgaugedouble{indexes}developmentyesbtree_counter_type (string)Indexes Aggregate of MongoDB Metrics INDEX_COUNTERS_BTREE_MISSES, INDEX_COUNTERS_BTREE_ACCESSES, INDEX_COUNTERS_BTREE_HITS
mongodbatlas.process.journaling.commitsgaugedouble{commits}developmentyesJournaling commits MongoDB Metric JOURNALING_COMMITS_IN_WRITE_LOCK
mongodbatlas.process.journaling.data_filesgaugedoubleMiBydevelopmentyesData file sizes MongoDB Metric JOURNALING_WRITE_DATA_FILES_MB
mongodbatlas.process.journaling.writtengaugedoubleMiBydevelopmentyesJournals written MongoDB Metric JOURNALING_MB
mongodbatlas.process.memory.usagegaugedoubleBydevelopmentyesmemory_state (string)Memory Usage Aggregate of MongoDB Metrics MEMORY_MAPPED, MEMORY_VIRTUAL, COMPUTED_MEMORY, MEMORY_RESIDENT
mongodbatlas.process.network.iogaugedoubleBy/sdevelopmentyesdirection (string)Network IO Aggregate of MongoDB Metrics NETWORK_BYTES_OUT, NETWORK_BYTES_IN
mongodbatlas.process.network.requestssum (monotonic)double{requests}developmentyesNetwork requests MongoDB Metric NETWORK_NUM_REQUESTS
mongodbatlas.process.oplog.rategaugedoubleGiBy/hdevelopmentyesExecution rate by operation MongoDB Metric OPLOG_RATE_GB_PER_HOUR
mongodbatlas.process.oplog.timegaugedoublesdevelopmentyesoplog_type (string)Execution time by operation Aggregate of MongoDB Metrics OPLOG_MASTER_TIME, OPLOG_SLAVE_LAG_MASTER_TIME, OPLOG_MASTER_LAG_TIME_DIFF
mongodbatlas.process.page_faultsgaugedouble{faults}/sdevelopmentyesmemory_issue_type (string)Page faults Aggregate of MongoDB Metrics GLOBAL_PAGE_FAULT_EXCEPTIONS_THROWN, EXTRA_INFO_PAGE_FAULTS, GLOBAL_ACCESSES_NOT_IN_MEMORY
mongodbatlas.process.restartsgaugedouble{restarts}/hdevelopmentyesRestarts in last hour Aggregate of MongoDB Metrics RESTARTS_IN_LAST_HOUR
mongodbatlas.process.ticketsgaugedouble{tickets}developmentyesticket_type (string)Tickets Aggregate of MongoDB Metrics TICKETS_AVAILABLE_WRITE, TICKETS_AVAILABLE_READS
mongodbatlas.system.cpu.normalized.usage.averagegaugedouble1developmentyescpu_state (string)System CPU Normalized to pct Aggregate of MongoDB Metrics SYSTEM_NORMALIZED_CPU_IOWAIT, SYSTEM_NORMALIZED_CPU_GUEST, SYSTEM_NORMALIZED_CPU_IRQ, SYSTEM_NORMALIZED_CPU_KERNEL, SYSTEM_NORMALIZED_CPU_STEAL, SYSTEM_NORMALIZED_CPU_SOFTIRQ, SYSTEM_NORMALIZED_CPU_NICE, SYSTEM_NORMALIZED_CPU_USER
mongodbatlas.system.cpu.normalized.usage.maxgaugedouble1developmentyescpu_state (string)System CPU Normalized to pct Aggregate of MongoDB Metrics MAX_SYSTEM_NORMALIZED_CPU_USER, MAX_SYSTEM_NORMALIZED_CPU_NICE, MAX_SYSTEM_NORMALIZED_CPU_IOWAIT, MAX_SYSTEM_NORMALIZED_CPU_SOFTIRQ, MAX_SYSTEM_NORMALIZED_CPU_STEAL, MAX_SYSTEM_NORMALIZED_CPU_KERNEL, MAX_SYSTEM_NORMALIZED_CPU_GUEST, MAX_SYSTEM_NORMALIZED_CPU_IRQ
mongodbatlas.system.cpu.usage.averagegaugedouble1developmentyescpu_state (string)System CPU Usage (%) Aggregate of MongoDB Metrics SYSTEM_CPU_USER, SYSTEM_CPU_GUEST, SYSTEM_CPU_SOFTIRQ, SYSTEM_CPU_IRQ, SYSTEM_CPU_KERNEL, SYSTEM_CPU_IOWAIT, SYSTEM_CPU_NICE, SYSTEM_CPU_STEAL
mongodbatlas.system.cpu.usage.maxgaugedouble1developmentyescpu_state (string)System CPU Usage (%) Aggregate of MongoDB Metrics MAX_SYSTEM_CPU_SOFTIRQ, MAX_SYSTEM_CPU_IRQ, MAX_SYSTEM_CPU_GUEST, MAX_SYSTEM_CPU_IOWAIT, MAX_SYSTEM_CPU_NICE, MAX_SYSTEM_CPU_KERNEL, MAX_SYSTEM_CPU_USER, MAX_SYSTEM_CPU_STEAL
mongodbatlas.system.fts.cpu.normalized.usagegaugedouble1developmentyescpu_state (string)Full text search disk usage (%) Aggregate of MongoDB Metrics FTS_PROCESS_NORMALIZED_CPU_USER, FTS_PROCESS_NORMALIZED_CPU_KERNEL
mongodbatlas.system.fts.cpu.usagegaugedouble1developmentyescpu_state (string)Full-text search (%) Aggregate of MongoDB Metrics FTS_PROCESS_CPU_USER, FTS_PROCESS_CPU_KERNEL
mongodbatlas.system.fts.disk.usedgaugedoubleBydevelopmentyesFull text search disk usage MongoDB Metric FTS_DISK_USAGE
mongodbatlas.system.fts.memory.usagesum (monotonic)doubleMiBydevelopmentyesmemory_state (string)Full-text search Aggregate of MongoDB Metrics FTS_MEMORY_MAPPED, FTS_PROCESS_SHARED_MEMORY, FTS_PROCESS_RESIDENT_MEMORY, FTS_PROCESS_VIRTUAL_MEMORY
mongodbatlas.system.memory.usage.averagegaugedoubleKiBydevelopmentyesmemory_status (string)System Memory Usage Aggregate of MongoDB Metrics SYSTEM_MEMORY_AVAILABLE, SYSTEM_MEMORY_BUFFERS, SYSTEM_MEMORY_USED, SYSTEM_MEMORY_CACHED, SYSTEM_MEMORY_SHARED, SYSTEM_MEMORY_FREE
mongodbatlas.system.memory.usage.maxgaugedoubleKiBydevelopmentyesmemory_status (string)System Memory Usage Aggregate of MongoDB Metrics MAX_SYSTEM_MEMORY_CACHED, MAX_SYSTEM_MEMORY_AVAILABLE, MAX_SYSTEM_MEMORY_USED, MAX_SYSTEM_MEMORY_BUFFERS, MAX_SYSTEM_MEMORY_FREE, MAX_SYSTEM_MEMORY_SHARED
mongodbatlas.system.network.io.averagegaugedoubleBy/sdevelopmentyesdirection (string)System Network IO Aggregate of MongoDB Metrics SYSTEM_NETWORK_IN, SYSTEM_NETWORK_OUT
mongodbatlas.system.network.io.maxgaugedoubleBy/sdevelopmentyesdirection (string)System Network IO Aggregate of MongoDB Metrics MAX_SYSTEM_NETWORK_OUT, MAX_SYSTEM_NETWORK_IN
mongodbatlas.system.paging.io.averagegaugedouble{pages}/sdevelopmentyesdirection (string)Swap IO Aggregate of MongoDB Metrics SWAP_IO_IN, SWAP_IO_OUT
mongodbatlas.system.paging.io.maxgaugedouble{pages}/sdevelopmentyesdirection (string)Swap IO Aggregate of MongoDB Metrics MAX_SWAP_IO_IN, MAX_SWAP_IO_OUT
mongodbatlas.system.paging.usage.averagegaugedoubleKiBydevelopmentyesmemory_state (string)Swap usage Aggregate of MongoDB Metrics SWAP_USAGE_FREE, SWAP_USAGE_USED
mongodbatlas.system.paging.usage.maxgaugedoubleKiBydevelopmentyesmemory_state (string)Swap usage Aggregate of MongoDB Metrics MAX_SWAP_USAGE_FREE, MAX_SWAP_USAGE_USED

Attributes

AttributeTypeDescription
assert_typestringMongoDB assertion type
btree_counter_typestringDatabase index effectiveness
cache_directionstringWhether read into or written from
cache_ratio_typestringCache ratio type
cache_statusstringCache status
cluster_rolestringWhether process is acting as replica or primary
cpu_statestringCPU state
cursor_statestringWhether cursor is open or timed out
directionstringNetwork traffic direction
disk_directionstringMeasurement type for disk operation
disk_statusstringDisk measurement type
document_statusstringStatus of documents in the database
execution_typestringType of command
global_lock_statestringWhich queue is locked
memory_issue_typestringType of memory issue encountered
memory_statestringMemory usage type
memory_statusstringMemory measurement type
object_typestringMongoDB object type
operationstringType of database operation
oplog_typestringOplog type
scanned_typestringObjects or indexes scanned during query
storage_statusstringViews on database size
ticket_typestringType of ticket available

Data

  • JSON (latest): /data/collector/components/contrib-mongodbatlasreceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-mongodbatlasreceiver/contrib-mongodbatlasreceiver-19eaf1f8cd08.json
  • Explore: /collector/components/contrib/mongodbatlasreceiver