查询命令延迟趋势

最近更新时间:2025-04-25 01:25:13

我的收藏

1. 接口描述

接口请求域名: dbbrain.tencentcloudapi.com 。

延迟分析-命令字分析-查询命令延迟趋势

默认接口请求频率限制:20次/秒。

推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:DescribeRedisCmdPerfTimeSeries。
Version String 公共参数,本接口取值:2021-05-27。
Region String 公共参数,详见产品支持的 地域列表
InstanceId String 实例 ID
示例值:crs-test1234
Product String 服务产品类型,仅仅支持值 "redis" - 云数据库 Redis。
示例值:redis
StartTime Timestamp ISO8601 开始时间,如“2025-03-17T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。
示例值:2025-03-17T00:00:00+00:00
EndTime Timestamp ISO8601 结束时间,如“2025-03-17T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。
示例值:2025-03-17T00:00:00+00:00
CommandList.N Array of String 需要分析的redis命令
示例值:["auth","eval","select","get","incrby","ping","set"]
Metric String 监控指标,以逗号分隔
示例值:"qps,latency_p99,latency_avg,latency_max"
Period Integer 监控指标时间粒度,单位秒,若不提供则根据开始时间和结束时间取默认值
示例值:60

3. 输出参数

参数名称 类型 描述
CmdPerfList Array of CmdPerfInfo redis命令延迟趋势
RequestId String 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 查询实例命令延迟分析

输入示例

POST / HTTP/1.1
Host: dbbrain.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRedisCmdPerfTimeSeries
<公共请求参数>

{
    "Product": "redis",
    "InstanceId": "crs-8z47pl0w",
    "StartTime": "2025-03-18T18:07:00+08:00",
    "EndTime": "2025-03-18T18:10:00+08:00",
    "CommandList": [
        "expire",
        "get",
        "evalsha",
        "sismember",
        "set",
        "hgetall",
        "smembers",
        "eval",
        "ping",
        "srem"
    ],
    "Metric": "qps,latency_p99,latency_avg,latency_max"
}

输出示例

{
    "Response": {
        "RequestId": "e911f7d0-03dd-11f0-8f33-dfca62256894",
        "CmdPerfList": [
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                1222,
                                958,
                                1104,
                                1102,
                                1150,
                                1477,
                                1118,
                                1165,
                                1222,
                                1125,
                                1141,
                                1195,
                                1046,
                                1021,
                                1254,
                                1218,
                                994,
                                789,
                                1255,
                                1066,
                                1015,
                                1197,
                                1013,
                                1241,
                                1076,
                                893,
                                895,
                                1213,
                                1160,
                                1251,
                                1155,
                                1179,
                                1208,
                                1115,
                                1050,
                                1196,
                                1145
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                6,
                                4,
                                3,
                                3,
                                3,
                                3,
                                3,
                                6,
                                5,
                                5,
                                3,
                                5,
                                6,
                                3,
                                3,
                                5,
                                3,
                                4,
                                5,
                                3,
                                3,
                                3,
                                3,
                                6,
                                3,
                                5,
                                3,
                                3,
                                4,
                                3,
                                5,
                                3,
                                9,
                                3,
                                3,
                                3,
                                3
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.608,
                                0.609,
                                0.619,
                                0.597,
                                0.61,
                                0.614,
                                0.619,
                                0.633,
                                0.611,
                                0.6,
                                0.607,
                                0.62,
                                0.618,
                                0.604,
                                0.624,
                                0.602,
                                0.612,
                                0.629,
                                0.613,
                                0.604,
                                0.609,
                                0.603,
                                0.625,
                                0.613,
                                0.593,
                                0.588,
                                0.608,
                                0.6,
                                0.614,
                                0.594,
                                0.584,
                                0.595,
                                0.624,
                                0.598,
                                0.615,
                                0.605,
                                0.618
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                6,
                                8,
                                6,
                                4,
                                4,
                                5,
                                3,
                                6,
                                5,
                                5,
                                4,
                                5,
                                6,
                                5,
                                7,
                                5,
                                3,
                                6,
                                8,
                                3,
                                4,
                                3,
                                8,
                                6,
                                5,
                                5,
                                5,
                                3,
                                4,
                                3,
                                5,
                                3,
                                12,
                                3,
                                9,
                                3,
                                6
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "expire"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                761,
                                567,
                                635,
                                669,
                                676,
                                818,
                                616,
                                671,
                                812,
                                739,
                                703,
                                684,
                                580,
                                592,
                                787,
                                658,
                                617,
                                461,
                                775,
                                571,
                                622,
                                723,
                                590,
                                736,
                                645,
                                513,
                                564,
                                763,
                                643,
                                750,
                                697,
                                675,
                                758,
                                687,
                                612,
                                719,
                                728
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                4,
                                3,
                                3,
                                4,
                                4,
                                6,
                                3,
                                6,
                                6,
                                3,
                                5,
                                7,
                                6,
                                3,
                                5,
                                3,
                                3,
                                6,
                                7,
                                6,
                                6,
                                3,
                                3,
                                6,
                                10,
                                5,
                                4,
                                3,
                                4,
                                3,
                                3,
                                5,
                                12,
                                3,
                                8,
                                3,
                                4
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.624,
                                0.593,
                                0.603,
                                0.592,
                                0.597,
                                0.605,
                                0.614,
                                0.629,
                                0.604,
                                0.605,
                                0.622,
                                0.622,
                                0.622,
                                0.588,
                                0.611,
                                0.591,
                                0.616,
                                0.638,
                                0.614,
                                0.596,
                                0.617,
                                0.61,
                                0.617,
                                0.599,
                                0.607,
                                0.594,
                                0.604,
                                0.596,
                                0.597,
                                0.581,
                                0.578,
                                0.601,
                                0.613,
                                0.613,
                                0.608,
                                0.606,
                                0.624
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                4,
                                3,
                                3,
                                4,
                                4,
                                6,
                                3,
                                6,
                                6,
                                3,
                                5,
                                7,
                                6,
                                3,
                                5,
                                3,
                                3,
                                6,
                                7,
                                6,
                                6,
                                3,
                                6,
                                6,
                                10,
                                5,
                                4,
                                3,
                                4,
                                3,
                                6,
                                5,
                                12,
                                3,
                                8,
                                3,
                                4
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "get"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                584,
                                576,
                                584,
                                554,
                                587,
                                576,
                                627,
                                619,
                                598,
                                606,
                                625,
                                569,
                                596,
                                640,
                                617,
                                602,
                                612,
                                575,
                                658,
                                572,
                                587,
                                547,
                                620,
                                576,
                                593,
                                557,
                                590,
                                611,
                                594,
                                620,
                                603,
                                558,
                                606,
                                622,
                                567,
                                560,
                                618
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                3,
                                3,
                                2,
                                5,
                                4,
                                3,
                                6,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                8,
                                3,
                                4,
                                3,
                                3,
                                3,
                                3,
                                3,
                                5,
                                3,
                                3,
                                3,
                                3,
                                3,
                                12,
                                3,
                                8,
                                3,
                                4
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.637,
                                0.638,
                                0.618,
                                0.637,
                                0.61,
                                0.65,
                                0.677,
                                0.671,
                                0.632,
                                0.614,
                                0.624,
                                0.658,
                                0.627,
                                0.605,
                                0.63,
                                0.618,
                                0.645,
                                0.654,
                                0.638,
                                0.621,
                                0.653,
                                0.608,
                                0.651,
                                0.636,
                                0.623,
                                0.615,
                                0.637,
                                0.604,
                                0.621,
                                0.611,
                                0.605,
                                0.632,
                                0.64,
                                0.63,
                                0.644,
                                0.625,
                                0.65
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                3,
                                3,
                                2,
                                5,
                                4,
                                3,
                                6,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                3,
                                8,
                                3,
                                4,
                                3,
                                3,
                                3,
                                10,
                                3,
                                6,
                                3,
                                3,
                                3,
                                3,
                                3,
                                12,
                                3,
                                8,
                                3,
                                4
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "evalsha"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                19,
                                18,
                                19,
                                21,
                                15,
                                22,
                                12,
                                22,
                                23,
                                38,
                                19,
                                20,
                                15,
                                28,
                                19,
                                20,
                                13,
                                18,
                                40,
                                19,
                                16,
                                24,
                                23,
                                20,
                                25,
                                9,
                                16,
                                34,
                                19,
                                27,
                                19,
                                21,
                                34,
                                32,
                                13,
                                26,
                                19
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                2,
                                2,
                                2,
                                2,
                                2,
                                2,
                                2,
                                5,
                                3,
                                2,
                                3,
                                6,
                                2,
                                2,
                                3,
                                3,
                                2,
                                2,
                                3,
                                2,
                                2,
                                2,
                                3,
                                3,
                                2,
                                2,
                                3,
                                2,
                                1,
                                2,
                                3,
                                2,
                                3,
                                2,
                                2,
                                2,
                                3
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.593,
                                0.556,
                                0.601,
                                0.527,
                                0.596,
                                0.451,
                                0.483,
                                0.789,
                                0.558,
                                0.611,
                                0.557,
                                0.424,
                                0.595,
                                0.482,
                                0.615,
                                0.552,
                                0.564,
                                0.628,
                                0.542,
                                0.548,
                                0.579,
                                0.476,
                                0.599,
                                0.51,
                                0.51,
                                0.554,
                                0.534,
                                0.594,
                                0.499,
                                0.541,
                                0.547,
                                0.376,
                                0.633,
                                0.59,
                                0.537,
                                0.585,
                                0.375
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                2,
                                2,
                                2,
                                2,
                                2,
                                2,
                                2,
                                5,
                                3,
                                2,
                                3,
                                6,
                                2,
                                2,
                                3,
                                3,
                                2,
                                2,
                                3,
                                2,
                                2,
                                2,
                                3,
                                3,
                                2,
                                2,
                                3,
                                2,
                                1,
                                2,
                                3,
                                2,
                                3,
                                2,
                                2,
                                2,
                                3
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "sismember"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                9,
                                7,
                                6,
                                2,
                                5,
                                3,
                                8,
                                5,
                                5,
                                3,
                                6,
                                3,
                                5,
                                8,
                                8,
                                7,
                                3,
                                5,
                                9,
                                2,
                                7,
                                6,
                                5,
                                6,
                                5,
                                1,
                                5,
                                6,
                                7,
                                7,
                                3,
                                1,
                                4,
                                5,
                                6,
                                2,
                                6
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                1,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.204,
                                0.222,
                                0.154,
                                0.298,
                                0.056,
                                0.217,
                                0.028,
                                0.261,
                                0.012,
                                0.214,
                                0.426,
                                0.221,
                                0.073,
                                0.243,
                                0.012,
                                0.182,
                                0.062,
                                0.048,
                                0.198,
                                0.25,
                                0.19,
                                0.056,
                                0.24,
                                0.042,
                                0.272,
                                0.017,
                                0.5,
                                0.141,
                                0.281,
                                0.05,
                                0.205,
                                0.264,
                                0.25,
                                0.04,
                                0.243,
                                0.083,
                                0.301
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                1,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "set"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                3,
                                6,
                                2,
                                5,
                                4,
                                4,
                                2,
                                4,
                                4,
                                4,
                                3,
                                5,
                                1,
                                4,
                                2,
                                4,
                                5,
                                5,
                                4,
                                5,
                                1,
                                4,
                                2,
                                5,
                                1,
                                4,
                                5,
                                4,
                                2,
                                5,
                                6,
                                3,
                                7,
                                4,
                                4,
                                4,
                                3
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                0,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                1,
                                0,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                1
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.033,
                                0.114,
                                0.117,
                                0.189,
                                0.188,
                                0.162,
                                0,
                                0.048,
                                0.051,
                                0.071,
                                0.074,
                                0,
                                0.083,
                                0.056,
                                0,
                                0.07,
                                0.211,
                                0.132,
                                0.167,
                                0.211,
                                0.108,
                                0.075,
                                0,
                                0.163,
                                0.083,
                                0.048,
                                0.033,
                                0.074,
                                0.083,
                                0.207,
                                0.051,
                                0.067,
                                0.211,
                                0.056,
                                0,
                                0.131,
                                0.125
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                0,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                1,
                                0,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                1
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "hgetall"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                4,
                                2,
                                1,
                                3,
                                5,
                                2,
                                4,
                                2,
                                4,
                                3,
                                3,
                                5,
                                3,
                                1,
                                4,
                                4,
                                6,
                                4,
                                4,
                                0,
                                3,
                                4,
                                3,
                                1,
                                3,
                                4,
                                3,
                                3,
                                5,
                                5,
                                3,
                                10,
                                3,
                                6,
                                2,
                                4,
                                4
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                2,
                                1,
                                1,
                                2,
                                1,
                                2,
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                3,
                                2,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                3,
                                2,
                                1,
                                1
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.38,
                                0.33,
                                0.42,
                                0.41,
                                0.52,
                                0.34,
                                0.48,
                                0.21,
                                0.46,
                                0.38,
                                0.17,
                                0.54,
                                0.22,
                                0.55,
                                0.78,
                                0.35,
                                0.23,
                                0.44,
                                0.41,
                                0.38,
                                0.29,
                                0.41,
                                0.72,
                                1.03,
                                0.42,
                                0.75,
                                0.47,
                                0.28,
                                0.33,
                                0.36,
                                0.31,
                                0.35,
                                0.54,
                                0.92,
                                0.42,
                                0.25,
                                0.17
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                2,
                                1,
                                1,
                                2,
                                1,
                                2,
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                3,
                                2,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                3,
                                2,
                                1,
                                1
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "smembers"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                6,
                                5,
                                6,
                                1,
                                5,
                                4,
                                4,
                                5,
                                4,
                                3,
                                5,
                                3,
                                5,
                                9,
                                7,
                                8,
                                1,
                                5,
                                8,
                                1,
                                5,
                                6,
                                4,
                                7,
                                4,
                                1,
                                5,
                                4,
                                5,
                                5,
                                3,
                                0,
                                1,
                                5,
                                5,
                                0,
                                5
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                2,
                                1,
                                2,
                                2,
                                2,
                                1,
                                2,
                                1,
                                1,
                                2,
                                0,
                                1,
                                1,
                                1,
                                2,
                                2,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.097,
                                0.361,
                                0.065,
                                0.39,
                                0.086,
                                0.238,
                                0.051,
                                0.228,
                                0.135,
                                0.303,
                                0.245,
                                0.232,
                                0.089,
                                0.298,
                                0.051,
                                0.25,
                                0,
                                0.075,
                                0.262,
                                0.197,
                                0.23,
                                0.071,
                                0.342,
                                0.028,
                                0.27,
                                0.033,
                                0.315,
                                0.088,
                                0.286,
                                0.103,
                                0.222,
                                0.049,
                                0.2,
                                0.017,
                                0.179,
                                0,
                                0.263
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                2,
                                1,
                                2,
                                2,
                                2,
                                1,
                                2,
                                1,
                                1,
                                2,
                                0,
                                1,
                                1,
                                1,
                                2,
                                2,
                                2,
                                1,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "eval"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                3,
                                0,
                                5,
                                0,
                                0,
                                4,
                                1,
                                0,
                                4,
                                1,
                                0,
                                6,
                                1,
                                0,
                                5,
                                0,
                                2,
                                2,
                                4,
                                1,
                                4,
                                2,
                                0,
                                2,
                                1,
                                0,
                                8,
                                0,
                                0,
                                2,
                                2,
                                0,
                                4,
                                0,
                                0,
                                2,
                                1
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                1,
                                3,
                                1,
                                1,
                                1,
                                2,
                                1,
                                0,
                                0,
                                1,
                                1,
                                2,
                                2,
                                1,
                                1,
                                0,
                                1,
                                3,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                0,
                                2,
                                1,
                                0,
                                1,
                                2,
                                0
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0.333,
                                0.833,
                                0.167,
                                0.042,
                                0.042,
                                0.5,
                                0.5,
                                0,
                                0,
                                0.292,
                                0.167,
                                0.783,
                                0.5,
                                0.083,
                                0.033,
                                0,
                                0.45,
                                0.774,
                                0.583,
                                0.042,
                                0.333,
                                0.194,
                                0.333,
                                0.146,
                                0.2,
                                0.467,
                                0.167,
                                0.367,
                                0.042,
                                0.063,
                                0,
                                0.567,
                                0.533,
                                0,
                                0.125,
                                0.042,
                                0
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                1,
                                3,
                                1,
                                1,
                                1,
                                2,
                                1,
                                0,
                                0,
                                1,
                                1,
                                2,
                                2,
                                1,
                                1,
                                0,
                                1,
                                3,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                0,
                                2,
                                1,
                                0,
                                1,
                                2,
                                0
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "ping"
            },
            {
                "SeriesData": {
                    "Series": [
                        {
                            "Values": [
                                0,
                                2,
                                2,
                                0,
                                7,
                                2,
                                4,
                                1,
                                2,
                                3,
                                1,
                                1,
                                2,
                                0,
                                6,
                                2,
                                5,
                                1,
                                2,
                                0,
                                2,
                                3,
                                1,
                                2,
                                1,
                                1,
                                3,
                                2,
                                3,
                                3,
                                0,
                                4,
                                0,
                                1,
                                2,
                                2,
                                2
                            ],
                            "Metric": "qps",
                            "Unit": "次/秒"
                        },
                        {
                            "Values": [
                                0,
                                2,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                2,
                                1,
                                3,
                                1,
                                1,
                                1,
                                2,
                                0,
                                1,
                                1,
                                1
                            ],
                            "Metric": "latency_p99",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0,
                                0.417,
                                0.344,
                                0.111,
                                0.375,
                                0.167,
                                0.458,
                                0.333,
                                0.069,
                                0.056,
                                0.167,
                                0.167,
                                0.167,
                                0.033,
                                0.194,
                                0,
                                0.042,
                                0.333,
                                0.056,
                                0.167,
                                0.333,
                                0.472,
                                0.204,
                                0.333,
                                0.208,
                                0.2,
                                0.333,
                                0.083,
                                0.583,
                                0.092,
                                0.167,
                                0.097,
                                0.5,
                                0,
                                0.042,
                                0.125,
                                0.267
                            ],
                            "Metric": "latency_avg",
                            "Unit": "毫秒"
                        },
                        {
                            "Values": [
                                0,
                                2,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                1,
                                0,
                                1,
                                1,
                                1,
                                1,
                                1,
                                2,
                                1,
                                2,
                                1,
                                1,
                                2,
                                1,
                                3,
                                1,
                                1,
                                1,
                                2,
                                0,
                                1,
                                1,
                                1
                            ],
                            "Metric": "latency_max",
                            "Unit": "毫秒"
                        }
                    ],
                    "Timestamp": [
                        1742292420,
                        1742292425,
                        1742292430,
                        1742292435,
                        1742292440,
                        1742292445,
                        1742292450,
                        1742292455,
                        1742292460,
                        1742292465,
                        1742292470,
                        1742292475,
                        1742292480,
                        1742292485,
                        1742292490,
                        1742292495,
                        1742292500,
                        1742292505,
                        1742292510,
                        1742292515,
                        1742292520,
                        1742292525,
                        1742292530,
                        1742292535,
                        1742292540,
                        1742292545,
                        1742292550,
                        1742292555,
                        1742292560,
                        1742292565,
                        1742292570,
                        1742292575,
                        1742292580,
                        1742292585,
                        1742292590,
                        1742292595,
                        1742292600
                    ]
                },
                "Command": "srem"
            }
        ]
    }
}

5. 开发者资源

腾讯云 API 平台

腾讯云 API 平台 是综合 API 文档、错误码、API Explorer 及 SDK 等资源的统一查询平台,方便您从同一入口查询及使用腾讯云提供的所有 API 服务。

API Inspector

用户可通过 API Inspector 查看控制台每一步操作关联的 API 调用情况,并自动生成各语言版本的 API 代码,也可前往 API Explorer 进行在线调试。

SDK

云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。

命令行工具

6. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码

错误码 描述
AuthFailure CAM签名/鉴权错误。
FailedOperation 操作失败。
InternalError 内部错误。
InvalidParameter 参数错误。
InvalidParameterValue 参数取值错误。
LimitExceeded 超过配额限制。
MissingParameter 缺少参数错误。
OperationDenied 操作被拒绝。
OperationDenied.UserHasNoStrategy CAM鉴权错误。
ResourceNotFound 资源不存在。
UnauthorizedOperation 未授权操作。
UnknownParameter 未知参数错误。
UnsupportedOperation 操作不支持。