Join us at the Dash conference! July 16-17, NYC

MongoDB Atlas

Crawler Crawler

Overview

MongoDB Atlas can push calculated metrics into Datadog to:

  • Visualize key MongoDB Atlas metrics.
  • Correlate MongoDB Atlas performance with the rest of your applications.

Setup

Installation

You can install the MongoDB Atlas integration by logging into your Atlas portal.

Configuration

  1. Retrieve or create a Datadog API key.
  2. In the Atlas portal, enter a Datadog API key under Integrations -> Datadog Settings.

Data Collected

Metrics

mongodb.atlas.connections.current
(gauge)
Number of current connections
shown as connection
mongodb.atlas.cursors.totalopen
(gauge)
Total number of open cursors
shown as cursor
mongodb.atlas.mem.resident
(gauge)
Resident memory consumed by the MongoDB process on server
shown as mebibyte
mongodb.atlas.mem.virtual
(gauge)
Virtual memory consumed by the MongoDB process on server
shown as mebibyte
mongodb.atlas.metrics.document.inserted
(rate)
Documents inserted
shown as document
mongodb.atlas.metrics.document.updated
(rate)
Documents updated
shown as document
mongodb.atlas.metrics.document.deleted
(rate)
Documents deleted
shown as document
mongodb.atlas.metrics.document.returned
(rate)
Documents returned
shown as document
mongodb.atlas.metrics.queryexecutor.scannedobjectsperreturned
(gauge)
Ratio measuring efficiency of queries on MongoDB
shown as object
mongodb.atlas.metrics.queryexecutor.scannedperreturned
(gauge)
The ratio between the number of index items scanned and the number of documents returned by queries
shown as scan
mongodb.atlas.opcounters.command
(rate)
Command operations
shown as operation
mongodb.atlas.opcounters.delete
(rate)
Delete operations
shown as operation
mongodb.atlas.opcounters.getmore
(rate)
Getmore operations
shown as operation
mongodb.atlas.opcounters.insert
(rate)
Insert operations
shown as operation
mongodb.atlas.opcounters.query
(rate)
Query operations
shown as operation
mongodb.atlas.opcounters.update
(rate)
Update operations
shown as operation
mongodb.atlas.opcountersrepl.command
(rate)
Command replication operations
shown as operation
mongodb.atlas.opcountersrepl.delete
(rate)
Delete replication operations
shown as operation
mongodb.atlas.opcountersrepl.insert
(rate)
Insert replication operations
shown as operation
mongodb.atlas.opcountersrepl.update
(rate)
Update replication operations
shown as operation
mongodb.atlas.oplatencies.commands.avg
(gauge)
Command operations average latency
shown as millisecond
mongodb.atlas.oplatencies.reads.avg
(gauge)
Read operations average latency
shown as millisecond
mongodb.atlas.oplatencies.writes.avg
(gauge)
Write operations average latency
shown as millisecond
mongodb.atlas.replset.oplograte
(gauge)
Oplog churn
shown as gibibyte
mongodb.atlas.replset.replicationheadroom
(gauge)
Difference between the primary’s oplog window and the replication lag of the secondary
shown as second
mongodb.atlas.stats.totaldatasize
(gauge)
Total data size across all databases
shown as byte
mongodb.atlas.stats.totalstoragesize
(gauge)
Total storage space across all databases
shown as byte
mongodb.atlas.system.cpu.mongoprocess.norm.childrenkernel
(gauge)
Normalized CPU children kernel space for mongodb processes
shown as percent
mongodb.atlas.system.cpu.mongoprocess.norm.childrenuser
(gauge)
Normalized CPU children user space for mongodb processes
shown as percent
mongodb.atlas.system.cpu.mongoprocess.norm.kernel
(gauge)
Normalized CPU kernel space for mongodb processes
shown as percent
mongodb.atlas.system.cpu.mongoprocess.norm.user
(gauge)
Normalized CPU user space for mongodb processes
shown as percent
mongodb.atlas.system.cpu.norm.guest
(gauge)
Normalized guest CPU usage for mongodb processes
shown as percent
mongodb.atlas.system.cpu.norm.iowait
(gauge)
Normalized iowait CPU utilization across various processes for a server
shown as percent
mongodb.atlas.system.cpu.norm.irq
(gauge)
Normalized irq CPU utilization across various processes for a server
shown as percent
mongodb.atlas.system.cpu.norm.kernel
(gauge)
Normalized CPU kernel space utilization across various processes for a server
shown as percent
mongodb.atlas.system.cpu.norm.nice
(gauge)
Normalized nice CPU utilization across various processes for a server
shown as percent
mongodb.atlas.system.cpu.norm.softirq
(gauge)
Normalized softirq CPU utilization across various processes for a server
shown as percent
mongodb.atlas.system.cpu.norm.steal
(gauge)
Normalized stolen CPU utilization across various processes for a server
shown as percent
mongodb.atlas.system.cpu.norm.user
(gauge)
Normalized CPU user space utilization across various processes for a server
shown as percent
mongodb.atlas.system.disk.iops.percentutilization
(gauge)
Percentage of disk I/O operations utilized
shown as percent
mongodb.atlas.system.disk.iops.reads
(rate)
Read throughput of I/O operations for the disk partition
shown as operation
mongodb.atlas.system.disk.iops.total
(rate)
Total throughput of I/O operations for the disk partition
shown as operation
mongodb.atlas.system.disk.iops.writes
(rate)
Write throughput of I/O operations for the disk partition
shown as operation
mongodb.atlas.system.disk.space.free
(gauge)
Free disk space on the disk partition
shown as byte
mongodb.atlas.system.disk.space.percentfree
(gauge)
Percentage of free disk space on the disk partition
shown as percent
mongodb.atlas.system.disk.space.percentused
(gauge)
Percentage of used disk space on the disk partition
shown as percent
mongodb.atlas.system.disk.space.used
(gauge)
Used disk space on the disk partition
shown as byte

Events

MongoDB Atlas can push alerts to Datadog as events.

Service Checks

The MongoDB Atlas integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog Support