云数据库 KeeWiDB

最近更新时间:2024-05-13 19:20:31

我的收藏

命名空间

Namespace=QCE/KEEWIDB

监控指标

实例维度

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
CmdBigValue
大 Value 请求
每秒请求命令大小超过32KB 的执行次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdErr
执行错误
每秒 Proxy 命令执行错误的次数,例如,命令不存在、参数错误等情况
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdKeyCount
Key 请求数
每秒命令访问的 Key 的个数
个/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdMget
Mget 请求数
每秒 Mget 命令执行次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
Connections
连接数量
接到实例的 TCP 连接数量
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
ConnectionsUtil
连接使用率
实际 TCP 连接数量和最大连接数占比
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
InBandwidthUtil
入流量使用率
内网入流量实际使用和最大流量比
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
InFlow
入流量
内网入流量
MBit/s
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
InFlowLimit
入流量限流触发
入流量触发限流的次数
instanceid
[5s, last] [60s, sum] [300s, sum] [3600s, sum] [86400s, sum]
LatencyAvg
平均执行时延
Proxy 到 KeeWiDB 的执行时延平均值
ms
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyMax
最大执行时延
Proxy 到 KeeWiDB 的执行时延最大值
ms
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
LatencyOther
其他命令平均时延
Proxy 到 KeeWiDB 除读写命令之外命令的平均执行时延
ms
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyP99
P99时延
Proxy 到 KeeWiDB 的执行时延99%的水位线
ms
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyRead
读平均时延
Proxy 到 KeeWiDB 的读命令平均执行时延
ms
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyWrite
写平均时延
Proxy 到 KeeWiDB 的写命令平均执行时延
ms
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
OutBandwidthUtil
出流量使用率
内网出流量实际使用和最大流量比
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
OutFlow
出流量
内网出流量
MBit/s
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
OutFlowLimit
出流量限流触发
出流量触发限流的次数
instanceid
[5s, last] [60s, sum] [300s, sum] [3600s, sum] [86400s, sum]
KeeKeys
key 总个数
实例存储的总 Key 个数(一级 Key)
instanceid
[5s, last] [60s, last] [300s, last] [3600s, last] [86400s, last]
KeeExpireKeys
key 过期数
时间窗内被淘汰的 Key 个数,对应 info 命令输出的 expired_keys
个/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDataUtil
持久内存使用率
持久内存容量的使用百分比
%
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDataUsed
持久内存使用量
持久内存已经使用的容量大小
MB
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeCommands
总请求
QPS,每秒命令执行的次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdRead
读请求
每秒读命令执行次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdWrite
写请求
每秒写命令执行次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdOther
其他请求
每秒除读写请求之外的其他命令的执行次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdSlow
慢查询
执行时延大于 slowlog - log - slower - than 配置的命令次数
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeMaxCpuUtil
节点最大 CPU 使用率
实例中的分片节点中最大的 CPU 使用率
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeMaxDiskUtil
节点最大磁盘使用率
实例中的分片节点中最大的磁盘使用率
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeMaxMemUtil
节点最大持久内存使用率
实例中的分片节点中最大的持久内存使用率
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeKeyspaceHitUtil
缓存命中率
指在使用缓存系统时,请求的数据在缓存中被找到的比例。缓存命中率 = 缓存命中次数 / 总请求数
%
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDiskUsed
硬盘使用量
硬盘已经使用的容量
MB
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeDiskUtil
硬盘使用率
硬盘已经使用的容量与最大容量的占比
%
instanceid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeDiskIops
硬盘 IOPS 使用量
每秒硬盘进行输入输出操作的次数。
次/秒
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCpuUtil
CPU 使用率
KeeWiDB 节点 CPU 使用率
%
instanceid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]

Proxy 维度

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
CmdBigValueProxy
大 Value 请求
请求命令大小超过32KB 的执行次数
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdErrProxy
执行错误
每秒命令执行错误的次数,例如,命令不存在、参数错误等情况
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdOtherProxy
其他请求
每秒读写命令之外的命令执行次数
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdKeyCountProxy
Key 请求数
每秒命令访问的 Key 个数
个/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdMgetProxy
Mget 请求数
每秒 Mget 命令执行次数
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdReadProxy
读请求
每秒读命令执行次数
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
CmdWriteProxy
写请求
每秒写命令执行次数
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
ConnectionsProxy
连接数量
连接到实例的 TCP 连接数量
个/秒
instanceid、proxy_nodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
ConnectionsUtilProxy
连接使用率
实际 TCP 连接数量和最大连接数占比
%
instanceid、proxy_nodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
CpuUtilProxy
CPU 使用率
Proxy 节点的 CPU 使用率
%
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
InBandwidthUtilProxy
入流量使用率
内网入流量实际使用和最大流量比
%
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
InFlowProxy
入流量
内网入流量
MBit/s
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
InFlowLimitProxy
入流量限流触发
入流量触发限流的次数
instanceid、proxy_nodeid
[5s, sum] [60s, sum] [300s, sum] [3600s, sum] [86400s, sum]
LatencyAvgProxy
平均执行时延
Proxy 到 KeeWIDB 的执行时延平均值
ms
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyMaxProxy
最大执行时延
Proxy 到 KeeWIDB 的执行时延最大值
ms
instanceid、proxy_nodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
LatencyOtherProxy
其他命令平均时延
Proxy 到 KeeWIDB 的读写命令之外的命令平均执行时延
ms
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyP99Proxy
P99时延
Proxy 到 KeeWIDB 的执行时延99%的水位线
ms
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyReadProxy
读平均时延
Proxy 到 KeeWIDB 的读命令平均执行时延
ms
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyWriteProxy
写平均时延
Proxy 到 KeeWIDB 的写命令平均执行时延
ms
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
OutBandwidthUtilProxy
出流量使用率
内网出流量实际使用和最大流量比
%
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
OutFlowProxy
出流量
内网出流量
MBit/s
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
OutFlowLimitProxy
出流量限流触发
出流量触发限流的次数
instanceid、proxy_nodeid
[5s, last] [60s, sum] [300s, sum] [3600s, sum] [86400s, sum]
ProxyCommandsProxy
总请求
Proxy 节点的QPS,每秒命令执行次数
次/秒
instanceid、proxy_nodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]

keewidb维度

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
KeeKeysKee
key 总个数
实例存储的总 Key 个数(一级 Key)
instanceid、keewidbnodeid
[5s, last] [60s, last] [300s, last] [3600s, last] [86400s, last]
KeeExpireKeysKee
key 过期数
时间窗内被淘汰的 Key 个数,对应 info 命令输出的 expired_keys
个/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDataUtilKee
持久内存使用率
持久内存容量的使用百分比
%
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDataUsedKee
持久内存使用量
持久内存已经使用的容量大小
MBytes
instanceid、keewidbnodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeCpuUtilKee
CPU 使用率
KeeWIDB 节点的平均 CPU 使用率
%
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeConnectionsKee
连接数量
连接到实例的 TCP 连接数量
instanceid、keewidbnodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeCommandsKee
总请求
KeeWiDB 的QPS,每秒命令执行次数
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeConnectionsUtilKee
连接使用率
实际 TCP 连接数量和最大连接数占比
%
instanceid、keewidbnodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeCmdReadKee
读请求
读命令执行次数
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdWriteKee
写请求
写命令执行次数
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdOtherKee
其他请求
读写命令之外的命令执行次数
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdSlowKee
慢查询
执行时延大于 slowlog - log - slower - than 配置的命令次数
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeCmdErrKee
执行错误
命令执行错误的次数,例如,命令不存在、参数错误等情况
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDiskUsedKee
磁盘使用量
磁盘已经使用的容量大小
MB
instanceid、keewidbnodeid
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
KeeDiskUtilKee
磁盘使用率
磁盘容量的使用百分比
%
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeDiskIopsKee
硬盘 IOPS 使用量
指硬盘每秒钟可以进行的读写操作次数。
次/秒
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
KeeKeyspaceHitUtilKee
缓存命中率
指缓存中已经存在的数据在请求中被命中的比例
%
instanceid、keewidbnodeid
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]

命令维度

指标英文名
指标中文名
指标说明
单位
维度
统计规则 [period, statType]
QpsCommand
命令每秒查询率
指数据库实例每秒能够处理的命令查询数量。
个/秒
instanceid、command
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyAvgCommand
命令平均时延
指数据库实例处理所有命令所需的平均时间
ms
instanceid、command
[5s, last] [60s, avg] [300s, avg] [3600s, avg] [86400s, avg]
LatencyMaxCommand
命令最大时延
指数据库处理所有命令所需的最大时延
ms
instanceid、command
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]
LatencyP99Command
命令 P99时延
指数据库实例处理命令的时延中,排除最慢1% 的命令后,剩余命令的平均时延
ms
instanceid、command
[5s, last] [60s, max] [300s, max] [3600s, max] [86400s, max]

各维度对应参数总览

参数名称
维度名称
维度解释
格式
Instances.N.Dimensions.0.Name
instanceid
云数据库 KeeWiDB 实例 ID 的维度名称
输入 String 类型维度名称:instanceid
Instances.N.Dimensions.0.Value
instanceid
具体实例 ID
输入具体实例 ID,可从 DescribeInstances 接口中获取
Instances.N.Dimensions.0.Name
proxy_nodeid
proxy 节点 ID 的维度名称
输入 String 类型维度名称:proxy_nodeid
Instances.N.Dimensions.0.Value
proxy_nodeid
具体 proxy 节点 ID
输入具体 proxy 节点 ID,可从 DescribeInstanceNodeInfo 接口中获取
Instances.N.Dimensions.0.Name
keewidbnodeid
keewidb 节点 ID 的维度名称
输入 String 类型维度名称:keewidbnodeid
Instances.N.Dimensions.0.Value
keewidbnodeid
具体 keewidb 节点 ID
输入 keewidb 节点 ID ,可从 DescribeInstanceNodeInfo 接口中获取
Instances.N.Dimensions.0.Name
command
command 命令的维度名称
输入 String 类型维度名称:command
Instances.N.Dimensions.0.Value
command
具体 command 命令字
输入具体 command 命令字,例如:ping、get 等

入参说明

查询云数据库 KeeWiDB 实例监控数据,入参取值如下:
&Namespace=QCE/KEEWIDB
&Instances.N.Dimensions.0.Name=instanceid
&Instances.N.Dimensions.0.Value=实例的 ID
查询云数据库 Proxy 节点监控数据,入参取值如下:
&Namespace=QCE/KEEWIDB
&Instances.N.Dimensions.0.Name=instanceid
&Instances.N.Dimensions.0.Value=实例的 ID
&Instances.N.Dimensions.1.Name=proxy_nodeid
&Instances.N.Dimensions.1.Value=proxy 节点ID
查询云数据库 KeeWiDB 节点监控数据,入参取值如下:
&Namespace=QCE/KEEWIDB
&Instances.N.Dimensions.0.Name=instanceid
&Instances.N.Dimensions.0.Value=实例的 ID
&Instances.N.Dimensions.1.Name=keewidbnodeid
&Instances.N.Dimensions.1.Value=keewidb 节点ID
查询云数据库 KeeWiDB 命令监控数据,入参取值如下:
&Namespace=QCE/KEEWIDB
&Instances.N.Dimensions.0.Name=instanceid
&Instances.N.Dimensions.0.Value=实例的 ID
&Instances.N.Dimensions.1.Name=command
&Instances.N.Dimensions.1.Value=具体命令字