内存版监控指标(5秒)

最近更新时间:2024-08-22 14:11:51

我的收藏

命名空间

Namespace = QCE/REDIS_MEM

监控指标

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
CmdBigValue
大Value请求
请求命令大小超过32KB的执行次数
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdBigValueProxy
大Value请求
请求命令大小超过32KB的执行次数
Count/s
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdErr
执行错误
命令执行错误的次数,例如命令不存在、参数错误等情况
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdErrProxy
Proxy命令执行错误数
Proxy 命令执行错误的次数,例如命令不存在、参数错误等情况
Count/s
pnodeid instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdHits
读请求命中
读请求 Key 存在的个数,对应 info 命令输出的 keyspace_hits 指标
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdHitsNode
读请求命中
读请求 Key 存在的个数,对应 info 命令输出的 keyspace_hits 指标
Count
instanceid rnodeid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdHitsRatio
读请求命中率
Key 命中/(Key 命中+KeyMiss),该指标可以反应 Cache Miss 的情况
%
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdHitsRatioNode
读请求命中率
Key命中/(Key命中+KeyMiss),该指标可以反应Cache Miss的情况
%
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdKeyCount
Key请求数
命令访问的 Key 个数
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdKeyCountProxy
Key请求数
命令访问的 Key 个数
Count/s
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdMget
Mget请求数
Mget 命令执行次数
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdMgetProxy
Mget请求数
Mget 命令执行次数
Count/s
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdMiss
读请求Miss
读请求 Key 不存在的个数,对应info命令输出的 keyspace_misses 指标
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdMissNode
读请求Miss
读请求 Key 不存在的个数,对应 info 命令输出的 keyspace_misses 指标
Count
rnodeid instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdOther
其他请求
读写命令之外的命令执行次数,其他命令分类请参见 监控说明
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdOtherNode
其他请求
读写命令之外的命令执行次数,其他命令分类请参见 监控说明
Count/s
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdRead
读请求
读命令执行次数,读命令分类请参见 监控说明
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdReadNode
读请求
读命令执行次数,读命令分类请参见 监控说明
Count/s
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdSlow
慢查询
执行时延大于slowlog-log-slower-than配置的命令次数
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdSlowNode
慢查询
执行时延大于 slowlog-log-slower-than 配置的命令次数
Count
instanceid rnodeid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
CmdWrite
写请求
写命令执行次数,读命令分类请参见 监控说明
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CmdWriteNode
写请求
写命令执行次数,读命令分类请参见 监控说明
Count/s
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
Commands
总请求
QPS,命令执行次数
Count/s
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CommandsNode
总请求
QPS,命令执行次数
Count/s
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CommandsProxy
总请求
Proxy 执行的命令数
Count/s
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
Connections
连接数量
连接到实例的 TCP 连接数量
Count
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ConnectionsNode
连接数量
Proxy 连接到节点的连接数
Count
instanceid rnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ConnectionsProxy
连接数量
连接到实例的 TCP 连接数量
Count
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ConnectionsUtil
连接使用率
实际 TCP 连接数量和最大连接数比
%
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ConnectionsUtilNode
连接使用率
节点连接数使用率
%
rnodeid instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
ConnectionsUtilProxy
连接使用率
连接数使用率
%
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
CpuMaxUtil
节点最大CPU使用率
实例中节点(分片或者副本)最大 CPU 使用率
%
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
CpuUtil
CPU使用率
平均 CPU 使用率
%
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CpuUtilNode
CPU使用率
平均 CPU 使用率
%
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
CpuUtilProxy
CPU使用率
Proxy CPU 使用率
%
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
DelaySeq
延迟序列差
延迟序列差
None
serialids
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
DelayTime
最大延迟时间
最大延迟时间
ms
serialids
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Evicted
key驱逐数
时间窗内被驱逐的 Key 个数,对应 info 命令输出的 evicted_keys
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
EvictedNode
key驱逐数
时间窗内被驱逐的 Key 个数,对应 info 命令输出的 evicted_keys
Count
instanceid rnodeid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
Expired
key过期数
时间窗内被淘汰的 Key 个数,对应 info 命令输出的 expired_keys
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
ExpiredNode
key过期数
时间窗内被淘汰的 Key 个数,对应 info 命令输出的 expired_keys
Count
instanceid rnodeid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
GlobalDelayCommand
延迟命令数
全球复制延迟命令数
Count
groupid instancerepl
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
GlobalDelayTime
延迟时间
全球复制延迟时间
ms
instancerepl groupid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
InBandwidthUtil
内网入流量实际使用和最大流量比
内网入流量实际使用和最大流量比
%
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
InBandwidthUtilProxy
内网入流量实际使用和最大流量比
内网入流量实际使用和最大流量比
%
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
InFlow
入流量
内网入流量
MBytes/s
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
InFlowLimit
入流量限流触发
入流量触发限流的次数
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
InFlowLimitProxy
入流量限流触发
入流量触发限流的次数
Count
instanceid pnodeid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
InFlowProxy
内网入流量
内网入流量
MBytes/s
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
Keys
Key总个数
实例存储的总 Key 个数(一级 Key)
Count
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
KeysNode
Key总个数
实例存储的总 Key 个数(一级 Key)
Count
rnodeid instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyAvg
平均执行时延
proxy 到 redis server 的执行时延平均值
ms
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyAvgCommand
平均执行时延
proxy 到 redis server 的执行时延平均值
ms
command instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyAvgProxy
平均执行时延
proxy 到 redis server 的执行时延平均值
ms
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyMax
最大执行时延
proxy 到 redis server 的执行时延最大值
ms
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyMaxCommand
最大执行时延
proxy 到 redis server 的执行时延最大值
ms
instanceid command
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyMaxProxy
最大执行时延
proxy 到 redis server 的执行时延最大值
ms
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyOther
其他命令平均时延
proxy 到 redis server 的读写命令之外的命令平均执行时延,其他命令分类请参见 监控说明
ms
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyOtherProxy
其他命令平均时延
proxy 到 redis server 的读写命令之外的命令平均执行时延,其他命令分类请参见 监控说明
ms
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyP99
P99执行时延
proxy 到 redis server 的执行时延99%水位线
ms
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyP99Command
P99执行时延
proxy 到 redis server 的执行时延99%水位线
ms
instanceid command
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyP99Proxy
P99执行时延
proxy 到 redis server 的执行时延99%水位线
ms
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
LatencyRead
读平均时延
proxy 到 redis server 的读命令平均执行时延,读命令分类,请参见 监控说明
ms
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyReadProxy
读平均时延
proxy 到 redis server 的读命令平均执行时延,读命令分类请参见
ms
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyWrite
写平均时延
proxy 到 redis server 的写命令平均执行时延,读命令分类请参见 监控说明
ms
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
LatencyWriteProxy
写平均时延
proxy 到 redis server 的写命令平均执行时延,读命令分类请参见 监控说明
ms
instanceid pnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
MemMaxUtil
节点最大内存使用率
实例中节点(分片或者副本)最大内存使用率
%
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MemUsed
内存使用量
实际使用内存容量,包含数据和缓存部分
MBytes
instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
MemUsedNode
内存使用量
实际使用内存容量,包含数据和缓存部分
MBytes
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
MemUtil
内存使用率
实际使用内存和申请总内存之比
%
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
MemUtilNode
内存使用率
实际使用内存和申请总内存之比
%
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
OutBandwidthUtil
内网出流量实际使用和最大流量比
内网出流量实际使用和最大流量比
%
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
OutBandwidthUtilProxy
内网出流量实际使用和最大流量比
内网出流量实际使用和最大流量比
%
pnodeid instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
OutFlow
出流量
内网出流量
MBytes/s
instanceid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
OutFlowLimit
出流量限流触发
出流量触发限流的次数
Count
instanceid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
OutFlowLimitProxy
出流量限流触发
出流量触发限流的次数
Count
instanceid pnodeid
[ 5s, last ] [ 60s, sum ] [ 300s, sum ] [ 3600s, sum ] [ 86400s, sum ]
OutFlowProxy
内网出流量
内网出流量
MBytes/s
instanceid pnodeid
[ 5s, last ] [ 60s, max ] [ 300s, max ] [ 3600s, max ] [ 86400s, max ]
QpsCommand
命令请求数(QPS)
命令每秒执行次数
Count/s
command instanceid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]
ReplDelayNode
复制延迟
副本节点的相对主节点命令延迟长度
Bytes
instanceid rnodeid
[ 5s, last ] [ 60s, avg ] [ 300s, avg ] [ 3600s, avg ] [ 86400s, avg ]


各维度对应参数总览

参数名称
维度名称
维度解释
格式
Instances.N.Dimensions.0.Name
instanceid
实例 ID 维度名称
输入 String 类型维度名称:instanceid
Instances.N.Dimensions.0.Value
instanceid
实例具体 ID
输入实例的具体 Redis 实例 ID,例如:tdsql-123456 也可以是实例串号,例如:crs-ifmymj41,可通过 查询 Redis 实例列表接口 查询
Instances.N.Dimensions.1.Name
rnodeid
redis 节点 ID 维度名称
输入 String 类型维度名称:rnodeid
Instances.N.Dimensions.1.Value
rnodeid
redis 具体节点 ID
输入 Redis 具体节点 ID,可以通过 查询实例节点信息 接口获取
Instances.N.Dimensions.1.Name
pnodeid
proxy 节点 ID 维度名称
输入 String 类型维度名称:pnodeid
Instances.N.Dimensions.1.Value
pnodeid
proxy 具体节点 ID
输入 proxy 具体节点 ID,可以通过 查询实例节点信息 接口获取
Instances.N.Dimensions.1.Name
command
命令字维度名称
输入 String 类型维度名称:command
Instances.N.Dimensions.1.Value
command
具体命令字
输入具体命令字,例如:ping、get等

入参说明

查询云数据库 Redis 实例监控数据,入参取值如下: &Namespace=QCE/REDIS_MEM &Instances.N.Dimensions.0.Name=instanceid &Instances.N.Dimensions.0.Value=实例的 ID
查询云数据库 Proxy 节点监控数据,入参取值如下: &Namespace=QCE/REDIS_MEM &Instances.N.Dimensions.0.Name=instanceid &Instances.N.Dimensions.0.Value=实例的 ID &Instances.N.Dimensions.1.Name=pnodeid &Instances.N.Dimensions.1.Value=proxy 节点ID
查询云数据库 Redis 节点监控数据,入参取值如下: &Namespace=QCE/REDIS_MEM &Instances.N.Dimensions.0.Name=instanceid &Instances.N.Dimensions.0.Value=实例的 ID &Instances.N.Dimensions.1.Name=rnodeid &Instances.N.Dimensions.1.Value=Redis 节点ID
查询云数据库 Redis 时延指标(command 维度)监控数据,入参取值如下: &Namespace=QCE/REDIS_MEM &Instances.N.Dimensions.0.Name=instanceid &Instances.N.Dimensions.0.Value=实例的 ID &Instances.N.Dimensions.1.Name=command &Instances.N.Dimensions.1.Value=具体命令字