命名空间
Namespace = QCE/CMONGO
监控指标
系统监控
指标英文名 | 指标中文名 | 说明 | 单位 | 维度 | 统计规则 [周期,统计方式] |
ActiveSession | 活跃 session 数量 | 活跃 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 | 磁盘读 IOPS | Count/s | target | [ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
Iowrite | 磁盘写 IOPS | 磁盘写 IOPS | Count/s | target | [ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
NodeCacheDirty | cache 中脏数据比例 | cache 中脏数据比例 | % | target | [ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
NodeCacheUsed | Cache 内存在总内存中占比 | Cache 内存在总内存中占比 | % | target | [ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
NodeHitRatio | Cache 命中率 | Cache 命中率 | % | 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 | 命令请求数量 | 命令请求数量 | 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 ] |
Timeouts | Timeouts | 超时次数 | 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 | Active Read | Count | target | [ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
Aw | WT 引擎的 ActiveWrite | Active Write | 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毫秒间请求量 | 节点延迟介于10-50毫秒间请求量 | Count | target | [ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ] |
NodeDelay100 | 节点延迟超过100毫秒请求量 | 节点延迟超过100毫秒请求量 | Count | target | [ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ] |
NodeDelay50 | 节点延迟介于50到100毫秒间请求量 | 节点延迟介于50-100毫秒间请求量 | Count | target | [ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ] |
Cache 类
指标英文名 | 指标中文名 | 说明 | 单位 | 维度 | 统计规则 [周期,统计方式] |
CacheDirty | Cache 脏数据百分比 | Cache 脏数据百分比 | % | target | [ 5s, max ] [ 10s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
CacheUsed | Cache 使用百分比 | Cache 使用百分比 | Count | target | [ 5s, max ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ] |
HitRatio | Cache 命中率 | Cache 命中率 | % | 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使用率 | % | 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毫秒间请求次数 | 时延在10-50毫秒间请求次数 | count | target | [ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ] |
Delay100 | 时延超过100毫秒请求次数 | 时延超过100毫秒请求次数 | count | target | [ 5s, sum ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ] |
Delay50 | 时延在50-100毫秒间请求次数 | 时延在50-100毫秒间请求次数 | 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 | 云硬盘读 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 | 云硬盘写 IOPS | Count/s | target | [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ] |
DiskWriteTraffic | 云硬盘写流量 | 云硬盘写流量 | KBytes/s | target | [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ] |
说明:
各维度对应参数总览
参数名称 | 维度名称 | 维度解释 | 格式 |
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=视查询维度而定