Skip to content

msp233/test1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

###1. 添加 post方式

{"35319":{
    "busi_name": "145测试机",
 "qps": 1,
 "fd_num": 2,
 "memory": 3,
 "connections": 4,
 "msg_shm_time": 5,
 "recv_shm_len": 6,
 "send_shm_len": 7,
 "cover": true
    }
}

####cgi json示例 该json_key cgi 没有意义

{
 "cgi": {  
  "busi_name": "145测试机",
        "host": "10.173.3.145",
  "cgi": "ALL",
  "qps": 5,
  "http_failure_ratio": 90,
  "rt": 500,
  "cover": false
 }
}

####添加页面的下拉菜单接口


###2. 删除 Get方式

Monitor

Cgi

###3. 查询 Get方式

{"35319":{
    "id":35319,
    "host": "10.173.5.145",
    "busi_name": "145测试机",
 "qps": 1,
 "fd_num": 2,
 "memory": 3,
 "connections": 4,
 "msg_shm_time": 5,
 "recv_shm_len": 6,
 "send_shm_len": 7,
 "cover": true
    }
}

####cgi 返回json示例

[{
  "busi_name": "145测试机",
  "level": 4,
  "qps": 10,
  "http_failure_ratio": 90,
  "rt": 500,
  "cover": true,
  "host": "10.173.5.145",
  "cgi": "/welcome"
 },
 {
  "busi_name": "ALL",
  "level": 0,
  "qps": 10000,
  "http_failure_ratio": 90,
  "rt": 500,
  "cover": true,
  "host": "ALL",
  "cgi": "ALL"
 }
]

###4. 更改 post方式

{"35319":{
    "busi_name": "145测试机",
 "qps": 1,
 "fd_num": 2,
 "memory": 3,
 "connections": 4,
 "msg_shm_time": 5,
 "recv_shm_len": 6,
 "send_shm_len": 7,
 "cover": true
    }
}

####cgi json示例

{
 "cgi": {  
  "busi_name": "145测试机",
        "host": "10.173.3.145",
  "cgi": "ALL",
  "qps": 5,
  "http_failure_ratio": 90,
  "rt": 500,
  "cover": false
 }
}

cgi key 和 level cgi key | ALL | 145测试机|10.173.5.145 | welcome | 10.173.5.145_/welcome| ------|---- level | 0 | 1 | 2 | 3 | 4 | 说明(业务-Host-
Cgi)\$表示指定 | ALL-ALL-ALL | \$-ALL-ALL | \$-\$-ALL | \$-ALL-\$ | \$-\$-\$ |

Releases

No releases published

Packages

No packages published

Languages