Skip to content
This repository was archived by the owner on Sep 20, 2018. It is now read-only.

API说明

Larry edited this page Dec 7, 2015 · 7 revisions

1 /cmd

1.1 定义

APIs Method Desp
/cmd POST Redis命令执行接口

1.2 参数说明

Params Type Desp
cmd String Redis命令名称
params String 执行命令的参数,多个参数以空格链接

1.3 返回

{
    "data": {}
}

2 /stat

2.1 定义

APIs Method Desp
/stat GET Redis服务器指标统计数据

2.2 参数说明

Params Type Options Desp
name String "connected_client","used_memory" 指标名称,分别表示当前客户端连接数当前占用内存
server String - 目标服务器地址
begin_time String - 开始时间(时间戳)
end_time String - 结束时间(时间戳)

2.3 返回

{
    "data": [{
        "value": "xx",
        "created_time": "xx"
    }]
}

  • last update: 2015年12月07日23:08:19
  • author: @gejiawen
Clone this wiki locally