帮你快速理解、总结文档立即下载

云数据库 MongoDB 监控指标

最近更新时间:2026-11-12 10:01:02
本文档已由 AI 辅助审校
我的收藏

命名空间

Namespace = QCE/CMONGO

监控指标

系统监控

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
ActiveSession
活跃 session 数量
实例当前活跃的会话连接数
Count
target
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Diskusage
节点磁盘使用率
实例磁盘已用空间占磁盘总容量的百分比
%
target
[ 5s, max ]
[ 10s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Ioread
磁盘读 IOPS
每秒完成的磁盘读操作次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Iowrite
磁盘写 IOPS
每秒完成的磁盘写操作次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeCacheDirty
Cache 中脏数据比例
WiredTiger 缓存中脏数据页占缓存容量的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeCacheUsed
Cache 内存在总内存中占比
WiredTiger 缓存占用内存占节点总内存的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeHitRatio
Cache 命中率
WiredTiger 缓存命中次数占总读取次数的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeOplogReservedTime
节点 oplog 保存时长
节点 oplog 记录可覆盖的时间范围
None
target
[ 5s, min ]
[ 60s, min ]
[ 300s, min ]
[ 3600s, min ]
[ 86400s, min ]
NodeSlavedelay
从节点延迟
从节点与主节点之间的复制延迟时长
s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

请求类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
Aggregates
aggregate 请求个数
aggregate 聚合操作的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Commands
命令请求数量
command 命令类请求的数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Counts
Count 请求次数
count 统计操作的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Deletes
delete 请求次数
delete 删除操作的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Inserts
insert 请求次数
insert 写入操作的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Qps
每秒钟请求次数
实例每秒处理的请求总数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Reads
read 请求次数
read 读取操作的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Success
请求成功次数
成功处理的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Updates
update 请求次数
update 更新操作的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]

读写类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
Ar
WT 引擎的 ActiveRead
WiredTiger 引擎当前活跃的读操作数
Count
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Aw
WT 引擎的 ActiveWrite
WiredTiger 引擎当前活跃的写操作数
Count
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Qr
读请求队列长度
读请求队列中等待处理的请求数
Count
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Qw
写请求队列长度
写请求队列中等待处理的请求数
Count
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

请求延迟监控

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
AvgAggregateDelay
aggregate 请求平均时延
aggregate 聚合操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgAllRequestDelay
所有请求平均延迟
所有请求的平均处理耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgCommandDelay
command 请求平均延迟
command 命令请求的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgCountDelay
Count 请求平均延迟
count 统计操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgDeleteDelay
delete 请求平均延迟
delete 删除操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgGetmoreDelay
getmore 请求平均延迟
getmore 游标读取请求的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgInsertDelay
insert 请求平均延迟
insert 写入操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgReadDelay
read 请求平均延迟
read 读取操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
AvgUpdateDelay
update 请求平均延迟
update 更新操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgAggregateDelay
节点 aggregate 请求平均时延
节点上 aggregate 聚合操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgAllRequestDelay
节点所有请求平均延迟
节点上所有请求的平均处理耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgCommandDelay
节点 command 请求平均延迟
节点上 command 命令请求的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgCountDelay
节点 Count 请求平均延迟
节点上 count 统计操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgDeleteDelay
节点 delete 请求平均延迟
节点上 delete 删除操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgGetmoreDelay
节点 getmore 请求平均延迟
节点上 getmore 游标读取请求的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgInsertDelay
节点 insert 请求平均延迟
节点上 insert 写入操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgReadDelay
节点 read 请求平均延迟
节点上 read 读取操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgUpdateDelay
节点 update 请求平均延迟
节点上 update 更新操作的平均耗时
ms
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeDelay10
节点延迟介于10到50毫秒间请求量
节点上处理耗时在 10ms - 50ms 之间的请求数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeDelay100
节点延迟超过100毫秒请求量
节点上处理耗时超过 100ms 的请求数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeDelay50
节点延迟介于50到100毫秒间请求量
节点上处理耗时在 50ms - 100ms 之间的请求数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]

Cache 类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
CacheDirty
Cache 脏数据百分比
WiredTiger 缓存中脏数据页所占的百分比
%
target
[ 5s, max ]
[ 10s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
CacheUsed
Cache 使用百分比
WiredTiger 缓存已使用容量所占的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
HitRatio
Cache 命中率
WiredTiger 缓存命中次数占总读取次数的百分比
%
target
[ 5s, max ]
[ 10s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

连接数类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
ClusterConn
集群连接数
集群实例当前的连接总数
Count
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Conn
连接数
节点当前的连接数
Count
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Connper
集群连接百分率
集群当前连接数占连接数上限的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

系统类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
ClusterDiskusage
磁盘容量使用率
集群磁盘已用容量占总容量的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
CpuUsage
节点 CPU 使用率
节点 CPU 使用率,即 CPU 已用时间占总时间的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
Disk
节点磁盘用量
节点已使用的磁盘容量
MBytes
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
MemUsage
内存使用率
节点内存使用率,即已用内存占总内存的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NetIn
网络入流量
节点每秒接收的网络流量
MB/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NetOut
网络出流量
节点每秒发送的网络流量
MB/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
ReplicaDiskusage
磁盘使用率
副本集磁盘已用容量占总容量的百分比
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

网络监控

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
ClusterNetin
集群网络入流量
集群每秒接收的网络流量
Bytes
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
ClusterNetout
集群网络出流量
集群每秒发送的网络流量
Bytes
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]

请求监控

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
CommandPerSecond
每秒钟 command 请求次数
每秒处理的 command 命令请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
CountPerSecond
每秒钟 Count 请求次数
每秒处理的 count 统计请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
DeletePerSecond
每秒钟 delete 请求次数
每秒处理的 delete 删除请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
GetmorePerSecond
每秒钟 getmore 请求次数
每秒处理的 getmore 游标读取请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
InsertPerSecond
每秒钟 insert 请求次数
每秒处理的 insert 写入请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeCommandPerSecond
节点每秒钟 command 请求次数
节点每秒处理的 command 命令请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeCommands
节点 command 请求量
节点 command 命令请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeCountPerSecond
节点每秒钟 Count 请求次数
节点每秒处理的 count 统计请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeCounts
节点 Count 请求量
节点 count 统计请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeDeletePerSecond
节点每秒钟 delete 请求次数
节点每秒处理的 delete 删除请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeDeletes
节点 delete 请求量
节点 delete 删除请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeGetmorePerSecond
节点每秒钟 getmore 请求次数
节点每秒处理的 getmore 游标读取请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeGetmores
节点 getmore 请求量
节点 getmore 游标读取请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeInsertPerSecond
节点每秒钟 insert 请求次数
节点每秒处理的 insert 写入请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeInserts
节点 insert 请求量
节点 insert 写入请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeReadPerSecond
节点每秒钟 read 请求次数
节点每秒处理的 read 读取请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeReads
节点 read 请求量
节点 read 读取请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeSuccess
节点总请求次数
节点成功处理的请求总次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeSuccessPerSecond
节点每秒钟请求成功数
节点每秒成功处理的请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeUpdatePerSecond
节点每秒钟 update 请求次数
节点每秒处理的 update 更新请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeUpdates
节点 update 请求量
节点 update 更新请求的总数量
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
ReadPerSecond
每秒钟 read 请求次数
每秒处理的 read 读取请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
SuccessPerSecond
每秒钟请求成功数
每秒成功处理的请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
UpdatePerSecond
每秒钟 update 请求次数
每秒处理的 update 更新请求次数
Count/s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

时延请求类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
Delay10
时延在10-50毫秒间请求次数
处理耗时在 10ms - 50ms 之间的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Delay100
时延超过100毫秒请求次数
处理耗时超过 100ms 的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
Delay50
时延在50-100毫秒间请求次数
处理耗时在 50ms - 100ms 之间的请求次数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]

资源使用率

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
MongodAvgMemUsage
mongod 节点内存平均使用率
mongod 节点在统计周期内的平均内存使用率
%
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
MongodMaxMemUsage
mongod 节点内存最大使用率
mongod 节点在统计周期内的最大内存使用率
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
MongosAvgMemUsage
mongos 节点内存平均使用率
mongos 节点在统计周期内的平均内存使用率
%
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
MongosMaxMemUsage
mongos 节点内存最大使用率
mongos 节点在统计周期内的最大内存使用率
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
MonogdAvgCpuUsage
mongod 节点 CPU 平均使用率
mongod 节点在统计周期内的平均 CPU 使用率
%
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
MonogdMaxCpuUsage
mongod 节点 CPU 最大使用率
mongod 节点在统计周期内的最大 CPU 使用率
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
MonogsAvgCpuUsage
mongos 节点 CPU 平均使用率
mongos 节点在统计周期内的平均 CPU 使用率
%
target
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
MonogsMaxCpuUsage
mongos 节点 CPU 最大使用率
mongos 节点在统计周期内的最大 CPU 使用率
%
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

主从类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
Oplogreservedtime
oplog 保存时间
oplog 记录可覆盖的时间范围
hour
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
SlaveDelay
主从时延
从节点与主节点之间的复制延迟时长
s
target
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

TTL 索引类

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
TtlDeleted
TTL 删除数据条数
TTL 索引自动删除的过期数据条数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
TtlPass
TTL 发起次数
TTL 后台线程运行的轮数
Count
target
[ 5s, sum ]
[ 60s, sum ]
[ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]

云磁盘监控

指标英文名
指标中文名
说明
单位
维度
统计规则
[周期,统计方式]
DiskAwait
云硬盘 IO 等待时间
云硬盘 IO 请求从发出到完成的平均等待时间
ms
target
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
DiskReadIops
云硬盘读 IOPS
云硬盘每秒完成的读操作次数
Count/s
target
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
DiskReadTraffic
云硬盘读流量
云硬盘每秒读取的数据量
KiBytes/s
target
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
DiskSvctm
云硬盘 IO 服务时间
云硬盘完成单个 IO 请求的平均服务时间
ms
target
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
DiskWriteIops
云硬盘写 IOPS
云硬盘每秒完成的写操作次数
Count/s
target
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
DiskWriteTraffic
云硬盘写流量
云硬盘每秒写入的数据量
KBytes/s
target
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
说明:
Delay10、Delay50和 Delay100为慢查询相关指标,指标详细说明和告警设置建议请参考 MongoDB 相关监控文档。

各维度对应参数总览

参数名称
维度名称
维度解释
格式
Instances.N.Dimensions.0.Name
target
target 维度名称
输入 String 类型维度名称:target
Instances.N.Dimensions.0.Value
target
视查询维度而定
请参见 取值参照表 取值
说明:
云数据库 Instances.N.Dimensions.0.Value 的取值: 腾讯云提供的 MongoDB 为集群服务,可以查询“整个集群”、“某个副本集”、“某个节点”三个维度的监控数据:
“整个集群”维度:代表了您所购买的某一个 MongoDB 实例,这个维度可以查询整个实例的读写请求次数、容量使用率、超时请求等。
“某个副本集”维度:可查询集群下的某一个副本集内部的容量使用率和主从延迟。副本集实例本身只包含一个副本集,分片实例的每一片都是一个副本。
“某个节点”维度:可以查询集群内的任意节点的 CPU、内存等信息。

dimensions.0.value 取值参照表

取值类型
取值示例
描述
实例 ID
cmgo-6ielucen
实例 ID,一个 MongoDB 实例的唯一标识:
可以在 MongoDB 控制台 获取
或者调用 MongoDB 的 API 获取
副本集 ID
cmgo-6ielucen_0
cmgo-6ielucen_2
在实例 ID 后面拼接 “_索引号”可以得到副本集 ID。
“索引号”从0开始,最大值为副本集个数-1;副本集实例只有一个副本集,所以固定拼接“_0”即可;分片实例有多个片,每一片都是副本集,例如:第3个片的副本集 ID 就是拼接“_2”
Mongod 节点 ID
cmgo-6ielucen_0-node-primary
cmgo-6ielucen_1-node-slave0
cmgo-6ielucen_3-node-slave2
在副本集 ID 后面拼接“-node-primary”得到该副本集的主节点 ID
在副本集 ID 后面拼接“-node-slave 从节点索引号”可得到对应的从节点的 ID,“从节点索引号”从0开始,最大值为从节点个数-1
Mongos 节点 ID
cmgo-6ielucen-node-mongos0
在实例 ID 后面拼接“-node-mongos 节点索引号”可得到对应的 Mongos 节点的 ID,“Mongos 节点索引号”从0开始,最大值为 Mongos 节点个数-1

入参说明

查询云数据库 MongoDB 监控数据,入参取值如下:
&Namespace=QCE/CMONGO
&Instances.N.Dimensions.0.Name=target
&Instances.N.Dimensions.0.Value=视查询维度而定