Supported OS Linux Windows Mac OS

概要

MongoDB Atlas は、算出メトリクスを Datadog にプッシュして、以下のことができます。

  • MongoDB Atlas のキーメトリクスを視覚化できます。
  • MongoDB Atlas のパフォーマンスをアプリケーションの他の部分と関連付けることができます。

注: このインテグレーションは、M10+ クラスターでの未利用可能です。

セットアップ

APM に Datadog Agent を構成する

MongoDB Atlas インテグレーションは、Atlas ポータルにログインすることによってインストールできます。

構成

  1. Datadog API キーを取得または作成します。
  2. Atlas ポータルIntegrations -> Datadog Settings で、Datadog API キーを入力します。

収集データ

メトリクス

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.replicationlag
(gauge)
The amount of time in seconds that updates to the secondary delay behind updates to the primary
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.mongoprocess.norm.max.childrenkernel
(gauge)
Max normalized CPU children kernel space for mongodb processes
Shown as percent
mongodb.atlas.system.cpu.mongoprocess.norm.max.childrenuser
(gauge)
Max normalized CPU children user space for mongodb processes
Shown as percent
mongodb.atlas.system.cpu.mongoprocess.norm.max.kernel
(gauge)
Max normalized CPU kernel space for mongodb processes
Shown as percent
mongodb.atlas.system.cpu.mongoprocess.norm.max.user
(gauge)
Max 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.cpu.max.norm.guest
(gauge)
Max normalized guest CPU usage for mongodb processes
Shown as percent
mongodb.atlas.system.cpu.max.norm.iowait
(gauge)
Max normalized iowait CPU utilization across various processes for a server
Shown as percent
mongodb.atlas.system.cpu.max.norm.irq
(gauge)
Max normalized irq CPU utilization across various processes for a server
Shown as percent
mongodb.atlas.system.cpu.max.norm.kernel
(gauge)
Max normalized CPU kernel space utilization across various processes for a server
Shown as percent
mongodb.atlas.system.cpu.max.norm.nice
(gauge)
Max normalized nice CPU utilization across various processes for a server
Shown as percent
mongodb.atlas.system.cpu.max.norm.softirq
(gauge)
Max normalized softirq CPU utilization across various processes for a server
Shown as percent
mongodb.atlas.system.cpu.max.norm.steal
(gauge)
Max normalized stolen CPU utilization across various processes for a server
Shown as percent
mongodb.atlas.system.cpu.max.norm.user
(gauge)
Max normalized CPU user space utilization across various processes for a server
Shown as percent
mongodb.atlas.system.disk.iops.percentutilization
(gauge)
Percentage of time during which requests are being issued to and serviced by the disk partition. Includes requests from all processes not just MongoDB processes
Shown as percent
mongodb.atlas.system.disk.max.iops.percentutilization
(gauge)
The maximum Disk Utilization Percent value over the time period specified by the metric granularity
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.max.iops.reads
(rate)
Max read throughput of I/O operations for the disk partition
Shown as operation
mongodb.atlas.system.disk.max.iops.total
(rate)
Max total throughput of I/O operations for the disk partition
Shown as operation
mongodb.atlas.system.disk.max.iops.writes
(rate)
Max 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
mongodb.atlas.system.disk.max.space.free
(gauge)
Max free disk space on the disk partition
Shown as byte
mongodb.atlas.system.disk.max.space.percentfree
(gauge)
Max percentage of free disk space on the disk partition
Shown as percent
mongodb.atlas.system.disk.max.space.percentused
(gauge)
Max percentage of used disk space on the disk partition
Shown as percent
mongodb.atlas.system.disk.max.space.used
(gauge)
Max used disk space on the disk partition
Shown as byte
mongodb.atlas.system.disk.queuedepth
(gauge)
Average length of the queue of requests issued to the disk partition
Shown as operation
mongodb.atlas.system.disk.max.queuedepth
(gauge)
Max length of the queue of requests issued to the disk partition
Shown as operation
mongodb.atlas.wiredtiger.cache.bytes_read_into_cache
(rate)
Average rate of bytes per second read into WiredTiger's cache
Shown as byte
mongodb.atlas.wiredtiger.cache.bytes_written_from_cache
(rate)
Average rate of bytes per second written from WiredTiger's cache
Shown as byte
mongodb.atlas.wiredtiger.cache.bytes_currently_in_cache
(gauge)
Number of bytes currently in the WiredTiger cache
Shown as byte
mongodb.atlas.wiredtiger.cache.tracked_dirty_bytes_in_cache
(gauge)
Number of tracked dirty bytes currently in the WiredTiger cache
Shown as byte
mongodb.atlas.wiredtiger.concurrenttransactions.read.available
(gauge)
Number of available read operations allowed into the storage engine
Shown as operation
mongodb.atlas.wiredtiger.concurrenttransactions.write.available
(gauge)
Number of available write operations allowed into the storage engine
Shown as operation
mongodb.atlas.replstatus.health
(gauge)
A number that indicates if the member is up (1) or down (0)
Shown as object
mongodb.atlas.replstatus.state
(gauge)
An integer between 0 and 10 that represents the replica state of the current member
Shown as object
mongodb.atlas.stats.totalindexsize
(gauge)
Sum total size in bytes of the index data across all databases
Shown as byte
mongodb.atlas.system.disk.latency.reads
(rate)
The read latency in milliseconds of the disk partition used by MongoDB
Shown as millisecond
mongodb.atlas.system.disk.latency.writes
(rate)
The write latency in milliseconds of the disk partition used by MongoDB
Shown as millisecond
mongodb.atlas.system.disk.max.latency.reads
(gauge)
The maximum Disk Read Latency value over the time period specified by the metric granularity
Shown as millisecond
mongodb.atlas.system.disk.max.latency.writes
(gauge)
The maximum Disk Write Latency value over the time period specified by the metric granularity
Shown as millisecond
mongodb.atlas.global.lock.current.queue.total
(gauge)
The number of operations queued waiting for any lock
Shown as operation
mongodb.atlas.global.lock.current.queue.reads
(gauge)
The number of operations queued waiting for a read lock
Shown as operation
mongodb.atlas.global.lock.current.queue.writes
(gauge)
The number of operations queued waiting for a write lock
Shown as operation
mongodb.atlas.system.memory.used
(gauge)
Physical memory used in bytes
Shown as byte
mongodb.atlas.system.memory.available
(gauge)
Physical memory available in bytes
Shown as byte
mongodb.atlas.system.memory.max.used
(gauge)
Maximum physical memory used in bytes
Shown as byte
mongodb.atlas.system.memory.max.available
(gauge)
Maximum physical memory available in bytes
Shown as byte
mongodb.atlas.system.network.max.bytes.in
(gauge)
The maximum Network Bytes In value over the time period specified by the metric granularity
Shown as byte
mongodb.atlas.system.network.max.bytes.out
(gauge)
The maximum Network Bytes Out value over the time period specified by the metric granularity
Shown as byte
mongodb.atlas.system.network.bytes.in
(rate)
The average rate of physical bytes received per second
Shown as byte
mongodb.atlas.system.network.bytes.out
(rate)
The average rate of physical bytes transmitted per second
Shown as byte
mongodb.atlas.network.bytes.in
(rate)
The average rate of physical (after any wire compression) bytes sent to this database server per second
Shown as byte
mongodb.atlas.network.bytes.out
(rate)
The average rate of physical (after any wire compression) bytes sent from this database server per second
Shown as byte
mongodb.atlas.network.num.requests
(rate)
The average rate of requests sent to this database server per second
Shown as request

イベント

MongoDB Atlas は、Datadog にアラートをイベントとしてプッシュできます。

サービスのチェック

MongoDB Atlas インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問合せください。

その他の参考資料

お役に立つドキュメント、リンクや記事: