云数据库 MongoDB 监控指标

最近更新时间:2024-10-17 14:16:32

我的收藏

命名空间

Namespace = QCE/CMONGO

监控指标

MongoDB

1. 请求类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
Inserts
写入请求次数
单位时间内写入次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Reads
读取请求次数
单位时间内读取次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Updates
更新请求次数
单位时间内更新次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Deletes
删除请求次数
单位时间内删除次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Counts
count 请求次数
单位时间内 count 次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Success
成功请求次数
单位时间内成功请求次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Commands
command 请求次数
单位时间内 command 请求次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, max ]
Qps
每秒成功请求次数
每秒成功请求次数,包含 CRUD 操作
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
CountPerSecond
每秒钟 count 请求次数
每秒钟 count 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
DeletePerSecond
每秒钟 delete 请求次数
每秒钟 delete 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
InsertPerSecond
每秒钟 insert 请求次数
每秒钟 insert 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ReadPerSecond
每秒钟 read 请求次数
每秒钟 read 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
UpdatePerSecond
每秒钟 update 请求次数
每秒钟 update 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
SuccessPerSecond
总请求
节点每秒钟请求成功数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
GetmorePerSecond
Getmore 请求
每秒钟 getmore 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
CommandPerSecond
Command 请求
每秒钟 command 请求次数
次/秒
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

2. 时延请求类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
Delay10
时延在10 - 50毫秒间请求次数
单位时间内成功请求延迟在10ms - 50ms次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Delay50
时延在50 - 100毫秒间请求次数
单位时间内成功请求延迟在50ms - 100ms次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Delay100
时延在100毫秒以上请求次数
单位时间内成功请求延迟在100ms以上次数
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgAllRequestDelay
所有请求平均延迟
所有请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgUpdateDelay
更新平均延迟
update 请求平均延迟
ms
target(实例 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, sum ]
AvgInsertDelay
插入平均延迟
insert 请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgReadDelay
读平均时延
read 请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgAggregateDelay
聚合请求平均时延
节点 aggregate 请求平均时延
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgCountDelay
Count 的平均延迟
count 请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgGetmoreDelay
Getmore 平均延迟
getmore 请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgDeleteDelay
删除平均延迟
delete 请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
AvgCommandDelay
Command 平均时延
command 请求平均延迟
ms
target(实例 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]

3. 连接数类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
ClusterConn
集群连接数
集群总连接数,指当前集群 proxy 收到的连接数
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Connper
连接使用率
当前集群的连接数与集群总连接配置的比例
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

4. 系统类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
ClusterDiskUsage
磁盘使用率
集群当前实际占用存储空间与总容量配置的比例
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MonogdMaxCpuUsage
Mongod 最大 CPU 使用率
mongod 节点 CPU 最大使用率
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MonogdAvgCpuUsage
Mongod 平均 CPU 使用率
mongod 节点 CPU 平均使用率
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MonogsMaxCpuUsage
Mongos 最大 CPU 使用率
mongos 节点 CPU 最大使用率
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MonogsAvgCpuUsage
Mongos 平均 CPU 使用率
mongos 节点 CPU 平均使用率
%
target(实例 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
MongodMaxMemUsage
Mongod 最大内存使用率
mongod 节点内存最大使用率
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MongodAvgMemUsage
Mongod 平均内存使用率
mongod 节点内存平均使用率
%
target(实例 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
MongosMaxMemUsage
Mongos 最大内存使用率
mongos 节点内存最大使用率
%
target(实例 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MongosAvgMemUsage
Mongos 平均内存使用率
mongos 节点内存平均使用率
%
target(实例 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]

5. 出入流量类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
ClusterNetin
入流量
集群网络入流量
Bytes
target(实例 ID)
[ 5s, max ]
[ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
ClusterNetout
出流量
集群网络出流量
Bytes
target(实例 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]

MongoDB 副本集

1. 系统类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
ReplicaDiskUsage
磁盘使用率
副本集容量使用率
%
target(副本集 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

2. 主从类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
SlaveDelay
主从延迟
主从单位时间内平均延迟
target(副本集 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
OplogReservedTime
oplog 保存时间
oplog 记录中最后一次操作和首次操作时间差
小时
target(副本集 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

3. Cache 类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
CacheDirty
Cache 脏数据百分比
当前内存 Cache 中脏数据百分比
%
target(副本集 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
CacheUsed
Cache 使用百分比
当前 Cache 使用百分比
%
target(副本集 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
HitRatio
Cache 命中率
当前 Cache 命中率
%
target(副本集 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

Mongod 节点

1. 系统类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
CpuUsage
CPU 使用率
CPU 使用率
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MemUsage
内存使用率
内存使用率
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NetIn
网络入流量
网络入流量
MB/s
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NetOut
网络出流量
网络出流量
MB/s
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Disk
节点磁盘用量
节点磁盘用量
MB
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Conn
连接数
连接数
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ActiveSession
活跃 session 数量
活跃 session 数量
target(节点 ID)
[ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeOplogReservedTime
Oplog 保存时长
节点 oplog 保存时长
-
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NodeHitRatio
Cache 命中率
Cache 命中率
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NodeCacheUsed
Cache 使用百分比
Cache 内存在总内存中占比
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NodeSlavedelay
主从延迟
从节点延迟
s
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
DiskUsage
节点磁盘使用率
节点磁盘使用率
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
IoRead
磁盘读次数
磁盘读 IOPS
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
IoWrite
磁盘写次数
磁盘写 IOPS
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeCacheDirty
Cache 脏数据百分比
Cache 中脏数据比例
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

2. 读写类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
Qr
Read 请求等待队列中的个数
Read 请求等待队列中的个数
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Qw
Write 请求等待队列中的个数
Write 请求等待队列中的个数
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Ar
WT 引擎的ActiveRead
Read 请求活跃个数
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Aw
WT 引擎ActiveWrite
Write 请求活跃个数
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]

3. 时延&请求类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
NodeAvgAllRequestDelay
所有请求平均时延
节点所有请求平均延迟
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeDelay100
节点延迟超过100毫秒请求量
节点延迟超过100毫秒请求量
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeDelay10
节点延迟介于10-50毫秒间请求量
节点延迟介于10-50毫秒间请求量
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeDelay50
节点延迟介于50-100毫秒间请求量
节点延迟介于50-100毫秒间请求量
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeSuccessPerSecond
节点每秒钟请求成功数
节点每秒钟请求成功数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeCountPerSecond
节点每秒钟 count 请求次数
节点每秒钟 count 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeDeletePerSecond
节点每秒钟 delete 请求次数
节点每秒钟 delete 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeInsertPerSecond
节点每秒钟 insert 请求次数
节点每秒钟 insert 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeReadPerSecond
节点每秒钟 read 请求次数
节点每秒钟 read 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeUpdatePerSecond
节点每秒钟 update 请求次数
节点每秒钟 update 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ]
[ 3600s, max ] [ 86400s, max ]
NodeAvgUpdateDelay
更新平均延迟
节点 update 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgInsertDelay
插入平均延迟
节点 insert 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgReadDelay
读平均时延
节点 read 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgAggregateDelay
聚合请求平均时延
节点 aggregate 请求平均时延
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgCountDelay
Count 的平均延迟
节点 count 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgGetmoreDelay
Getmore 平均延迟
节点 getmore 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgDeleteDelay
删除平均延迟
节点 delete 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeAvgCommandDelay
Command 平均时延
节点 command 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ]
[ 60s, avg ]
[ 300s, avg ]
[ 3600s, avg ]
[ 86400s, avg ]
NodeGetmorePerSecond
Getmore 请求
节点每秒钟 getmore 请求次数
次/秒
target(节点 ID)
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
NodeCommandPerSecond
Command 请求
节点每秒钟 command 请求次数
次/秒
target(节点 ID)
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]

4. TTL 索引类

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
TtlDeleted
TTL 删除的数据条数
TTL 删除的数据条数
target(节点 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
TtlPass
TTL 运转轮数
TTL 运转轮数
target(节点 ID)
[ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]

Mongos 节点指标

指标英文名
指标中文名
含义
单位
维度
统计规则 [period, statType]
CpuUsage
CPU 使用率
CPU 使用率
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MemUsage
内存使用率
内存使用率
%
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NetIn
入流量
内网入流量字节数统计
MB/s
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NetOut
出流量
内网出流量字节数统计
MB/s
target(节点 ID)
[ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
NodeAvgAllRequestDelay
所有请求平均时延
节点所有命令平均执行时延
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgUpdateDelay
更新平均延迟
节点更新命令时延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgInsertDelay
插入平均延迟
节点插入命令延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgReadDelay
读平均时延
节点读命令时延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgAggregateDelay
聚合请求平均时延
节点 aggregate 命令时延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgCountDelay
count 的平均延迟
节点 counts 命令时延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgGetmoreDelay
getmore 平均延迟
节点 getmore 命令时延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgDeleteDelay
删除平均延迟
节点 delete 请求平均延迟
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeAvgCommandDelay
command 平均时延
节点 command 请求时延平均值
ms
target(节点 ID)
[ 5s, avg ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
NodeDelay10
10ms-50ms 请求量
执行时间在10毫秒和50毫秒之间每秒请求次数
target(节点 ID)
[ 5s, max ]
[ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ]
[ 86400s, sum ]
NodeDelay50
50ms-100ms 请求量
执行时间在50毫秒和100毫秒之间每秒请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeDelay100
100ms 以上请求量
执行时间超过100毫秒每秒请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeSuccessPerSecond
总请求
节点每秒所有请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeInsertPerSecond
插入请求
节点每秒钟 insert 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeReadPerSecond
读请求
节点每秒钟 read 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeUpdatePerSecond
更新请求
节点每秒钟 update 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeCountPerSecond
count 请求
节点每秒钟 count 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeDeletePerSecond
删除请求
节点每秒钟 delete 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeGetmorePerSecond
getmore 请求
节点每秒钟 getmore 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeCommandPerSecond
command 请求
节点每秒钟 command 请求次数
次/秒
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeSuccess
总请求量
节点所有请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeInserts
插入请求量
节点 insert 请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeReads
读请求量
节点 read 请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeUpdates
更新请求量
节点 update 请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeCounts
count 请求量
节点收到的 Count 请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeDeletes
删除请求量
节点收到的 delete 请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeGetmores
getmore 请求量
节点收到的 Getmore 请求次数
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
NodeCommands
command 请求量
节点收到的 Command 请求次数。Command 为除 insert、update、delete、query 以外命令的总称
target(节点 ID)
[ 5s, max ] [ 60s, sum ] [ 300s, sum ]
[ 3600s, sum ] [ 86400s, sum ]
Conn
连接数
连接数
target(节点 ID)
[ 5s, max ]
[ 60s, max ]
[ 300s, max ]
[ 3600s, max ]
[ 86400s, max ]
说明:
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=视查询维度而定