文档
测试

统计部门的指标信息

GET
http://127.0.0.1:8080/v1/resource/usage/ecs/metric/department

请求参数

参数名
类型
描述
必填
startTime
long
开始时间:1588791600000
必填
endTime
long
结束时间:1588791900000
必填
envName
string
环境名称:生产VPC环境
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:success
必填
data
array
数据列表
必填
deptID
int
示例:6617272
必填
deptName
string
示例:技术中心
必填
owner
string
示例:敦敬
必填
cpu
object
数据字典
必填
avg
string
示例:3.22
必填
p90
string
示例:8.74
必填
max
string
示例:100.00
必填
mem
object
数据字典
必填
avg
string
示例:56.59
必填
p90
string
示例:67.88
必填
max
string
示例:90.00
必填
disk
object
数据字典
必填
avg
string
示例:15.68
必填
p90
string
示例:27.06
必填
max
string
示例:90.00
必填

说明 / 示例

{ "code": 0, "msg": "success", "data": [ { "deptID": 6617272, "deptName": "技术中心", "owner": "敦敬", "cpu": { "avg": "3.22", "p90": "8.74", "max": "100.00" }, "mem": { "avg": "56.59", "p90": "67.88", "max": "90.00" }, "disk": { "avg": "15.68", "p90": "27.06", "max": "90.00" } }, { "deptID": 149631404, "deptName": "轩辕研发部", "owner": "范慎", "cpu": { "avg": "5.78", "p90": "11.02", "max": "100.00" }, "mem": { "avg": "66.15", "p90": "81.02", "max": "89.00" }, "disk": { "avg": "23.11", "p90": "39.12", "max": "89.00" } }, { "deptID": 149564579, "deptName": "轩辕组", "owner": "玄珠", "cpu": { "avg": "1.97", "p90": "4.41", "max": "53.00" }, "mem": { "avg": "53.58", "p90": "76.25", "max": "77.00" }, "disk": { "avg": "13.10", "p90": "22.00", "max": "77.00" } }, { "deptID": 149567784, "deptName": "钉签组", "owner": "破军", "cpu": { "avg": "5.33", "p90": "14.38", "max": "100.00" }, "mem": { "avg": "66.62", "p90": "89.25", "max": "89.00" }, "disk": { "avg": "32.33", "p90": "67.00", "max": "89.00" } }, { "deptID": 149593494, "deptName": "用户中心组", "owner": "行空", "cpu": { "avg": "10.18", "p90": "11.17", "max": "45.00" }, "mem": { "avg": "71.37", "p90": "71.43", "max": "71.00" }, "disk": { "avg": "24.00", "p90": "24.00", "max": "71.00" } }, { "deptID": 149628391, "deptName": "支付宝组", "owner": "墨渊", "cpu": { "avg": "5.66", "p90": "14.12", "max": "81.00" }, "mem": { "avg": "73.03", "p90": "87.16", "max": "87.00" }, "disk": { "avg": "23.00", "p90": "43.50", "max": "87.00" } }, { "deptID": 149671126, "deptName": "悟空研发部", "owner": "三丰", "cpu": { "avg": "3.53", "p90": "10.66", "max": "92.00" }, "mem": { "avg": "62.70", "p90": "78.08", "max": "80.00" }, "disk": { "avg": "33.08", "p90": "74.70", "max": "80.00" } }, { "deptID": 149508995, "deptName": "签署组", "owner": "东华", "cpu": { "avg": "4.88", "p90": "18.63", "max": "92.00" }, "mem": { "avg": "51.63", "p90": "75.68", "max": "77.00" }, "disk": { "avg": "25.90", "p90": "73.40", "max": "77.00" } }, { "deptID": 149527952, "deptName": "实名组", "owner": "木风", "cpu": { "avg": "2.19", "p90": "2.69", "max": "35.00" }, "mem": { "avg": "73.77", "p90": "80.48", "max": "80.00" }, "disk": { "avg": "40.25", "p90": "76.00", "max": "80.00" } }, { "deptID": 111435565, "deptName": "天印研发部", "owner": "清晏", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 114535457, "deptName": "数政组", "owner": "风广陌", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 120289455, "deptName": "天印组", "owner": "千丈", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 120411406, "deptName": "项目组", "owner": "风广陌", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 135446519, "deptName": "SAP组", "owner": "沧海", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 149485956, "deptName": "铁证研发部", "owner": "红袖", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 149629371, "deptName": "存出证组", "owner": "司幽", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 111643694, "deptName": "数字化研发部", "owner": "红袖", "cpu": { "avg": "1.60", "p90": "1.79", "max": "51.00" }, "mem": { "avg": "70.54", "p90": "70.77", "max": "78.00" }, "disk": { "avg": "15.00", "p90": "15.00", "max": "78.00" } }, { "deptID": 114916003, "deptName": "产品组", "owner": "茯苓", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 114945002, "deptName": "CRM组", "owner": "司幽", "cpu": { "avg": "2.53", "p90": "2.90", "max": "51.00" }, "mem": { "avg": "77.81", "p90": "78.27", "max": "78.00" }, "disk": { "avg": "20.00", "p90": "20.00", "max": "78.00" } }, { "deptID": 114918002, "deptName": "计费组", "owner": "刹那", "cpu": { "avg": "0.67", "p90": "0.69", "max": "2.00" }, "mem": { "avg": "63.27", "p90": "63.27", "max": "63.00" }, "disk": { "avg": "10.00", "p90": "10.00", "max": "63.00" } }, { "deptID": 75199332, "deptName": "架构部", "owner": "三丰", "cpu": { "avg": "2.01", "p90": "4.59", "max": "51.00" }, "mem": { "avg": "33.94", "p90": "65.61", "max": "67.00" }, "disk": { "avg": "16.82", "p90": "53.00", "max": "67.00" } }, { "deptID": 114589322, "deptName": "业务架构组", "owner": "三丰", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 114678395, "deptName": "中间件组", "owner": "三丰", "cpu": { "avg": "2.01", "p90": "4.59", "max": "51.00" }, "mem": { "avg": "33.94", "p90": "65.61", "max": "67.00" }, "disk": { "avg": "16.82", "p90": "53.00", "max": "67.00" } }, { "deptID": 111545615, "deptName": "技术保障部", "owner": "无忌", "cpu": { "avg": "3.14", "p90": "13.25", "max": "99.00" }, "mem": { "avg": "62.57", "p90": "75.97", "max": "90.00" }, "disk": { "avg": "8.73", "p90": "12.20", "max": "90.00" } }, { "deptID": 114856003, "deptName": "OP组", "owner": "云栾", "cpu": { "avg": "6.22", "p90": "20.30", "max": "99.00" }, "mem": { "avg": "64.17", "p90": "86.76", "max": "90.00" }, "disk": { "avg": "16.00", "p90": "21.60", "max": "90.00" } }, { "deptID": 115019002, "deptName": "devops组", "owner": "白帝", "cpu": { "avg": "2.85", "p90": "10.73", "max": "54.00" }, "mem": { "avg": "27.34", "p90": "62.22", "max": "86.00" }, "disk": { "avg": "8.82", "p90": "12.00", "max": "86.00" } }, { "deptID": 115036001, "deptName": "DBA组", "owner": "无忌", "cpu": { "avg": "0.47", "p90": "0.50", "max": "2.00" }, "mem": { "avg": "78.22", "p90": "79.03", "max": "79.00" }, "disk": { "avg": "7.00", "p90": "7.00", "max": "79.00" } }, { "deptID": 149622318, "deptName": "核心能力组", "owner": "无忌", "cpu": { "avg": "6.60", "p90": "43.83", "max": "49.00" }, "mem": { "avg": "72.49", "p90": "83.64", "max": "83.00" }, "disk": { "avg": "6.12", "p90": "8.00", "max": "83.00" } }, { "deptID": 151207330, "deptName": "大数据组", "owner": "屠苏", "cpu": { "avg": "2.24", "p90": "3.62", "max": "37.00" }, "mem": { "avg": "54.96", "p90": "65.17", "max": "65.00" }, "disk": { "avg": "7.44", "p90": "17.60", "max": "65.00" } }, { "deptID": 72884011, "deptName": "前端部", "owner": "范慎", "cpu": { "avg": "1.72", "p90": "1.90", "max": "33.00" }, "mem": { "avg": "33.93", "p90": "34.10", "max": "47.00" }, "disk": { "avg": "9.25", "p90": "9.50", "max": "47.00" } }, { "deptID": 114722391, "deptName": "前端一组", "owner": "法相", "cpu": { "avg": "2.32", "p90": "2.60", "max": "33.00" }, "mem": { "avg": "20.33", "p90": "20.33", "max": "20.00" }, "disk": { "avg": "12.00", "p90": "12.00", "max": "20.00" } }, { "deptID": 114681413, "deptName": "前端二组", "owner": "云河", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 141233917, "deptName": "大客户", "owner": "盼兮", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 141282706, "deptName": "渠道生态", "owner": "云河", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 326889135, "deptName": "前端三组", "owner": "云凡", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 119621061, "deptName": "前端横向组", "owner": "薄风", "cpu": { "avg": "1.12", "p90": "1.21", "max": "5.00" }, "mem": { "avg": "47.54", "p90": "47.87", "max": "47.00" }, "disk": { "avg": "6.50", "p90": "7.00", "max": "47.00" } }, { "deptID": 72871007, "deptName": "质量保证部", "owner": "贺达", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152431709, "deptName": "横向组", "owner": "贺达", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152493470, "deptName": "天印测试组", "owner": "凤年", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152404999, "deptName": "天印组", "owner": "凤年", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152410970, "deptName": "数政组", "owner": "凤年", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152486660, "deptName": "SAP组", "owner": "凤年", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152518431, "deptName": "轩辕测试组", "owner": "贺达", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152419838, "deptName": "伏羲组", "owner": "小花", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152521500, "deptName": "九黎组", "owner": "贺达", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152528458, "deptName": "数字化测试组", "owner": "玄女", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 152579198, "deptName": "悟空测试组", "owner": "无尘", "cpu": { "avg": "--", "p90": "--", "max": "--" }, "mem": { "avg": "--", "p90": "--", "max": "--" }, "disk": { "avg": "--", "p90": "--", "max": "--" } }, { "deptID": 112811349, "deptName": "安全风控部", "owner": "玄霄", "cpu": { "avg": "0.31", "p90": "0.49", "max": "20.00" }, "mem": { "avg": "10.34", "p90": "10.35", "max": "10.00" }, "disk": { "avg": "6.00", "p90": "6.00", "max": "10.00" } } ] }