获取面板列表 | 大装置帮助中心
跳到主要内容

获取面板列表

接口描述

GET

/monitor/ts/data/v1/subscriptions/:subscription_name/resourceGroups/:resource_group_name/zones/:zone/telemetryStations/:telemetry_station_name/dashboards/:dashboard_name/panels

获取面板列表

请求头(Request Header)

参考认证(authentication)

请求参数(Request Parameters)

名称类型必须位置默认值取值范围描述
subscription_namestringpath--订阅
resource_group_namestringpath--资源组
zonestringpath--可用区
telemetry_station_namestringpath--监控空间
dashboard_namestringpath--仪表盘名称

请求体(Request Body)

请求示例(Request Example)

curl --request GET 'https://monitor.sensecoreapi.tech/monitor/ts/data/v1/subscriptions/b4f61f4c-8a6a-4fdb-b4c1-f3b9a4aa4b24/resourceGroups/default/zones/cn-sh-01z/telemetryStations/ts-user-ca71ed1d-9b26-49e5-be96-b2da449d5a94/dashboards/acpnew_summery/panels' \
-H 'Content-Type: application/json'

响应(Response)

名称类型描述
panels[]Panel仪表板列表

其中,Panel如下:

名称类型描述
panel_idstring面板ID
panel_namestring面板名称

响应示例(Response Example)

{
"panels": [
{
"panel_id": "229",
"panel_name": "Workspace"
},
{
"panel_id": "231",
"panel_name": "Job"
},
{
"panel_id": "2",
"panel_name": "JobCpuUtilization"
},
{
"panel_id": "4",
"panel_name": "JobMemUtilization"
},
{
"panel_id": "6",
"panel_name": "JobMemAmount"
},
{
"panel_id": "19",
"panel_name": "JobGpuUtilTotal"
},
{
"panel_id": "17",
"panel_name": "JobGpuMemUtilTotal"
},
{
"panel_id": "18",
"panel_name": "JobGpuMemAmountTotal"
},
{
"panel_id": "8",
"panel_name": "JobGpuUtil"
},
{
"panel_id": "12",
"panel_name": "JobGpuMemUtil"
},
{
"panel_id": "10",
"panel_name": "JobGpuMemAmount"
},
{
"panel_id": "255",
"panel_name": "JobGpuPoweruUsageTotal"
},
{
"panel_id": "256",
"panel_name": "JobGpuPoweruUsage"
},
{
"panel_id": "257",
"panel_name": "JobGpuUtilTotalAvg"
},
{
"panel_id": "233",
"panel_name": "ContainerInstance"
},
{
"panel_id": "253",
"panel_name": "Pod"
},
{
"panel_id": "235",
"panel_name": "WorkerCpuUtilization"
},
{
"panel_id": "237",
"panel_name": "WorkerMemUtilization"
},
{
"panel_id": "239",
"panel_name": "WorkerMemAmount"
},
{
"panel_id": "241",
"panel_name": "WorkerGpuUtilTotal"
},
{
"panel_id": "243",
"panel_name": "WorkerGpuMemUtilTotal"
},
{
"panel_id": "245",
"panel_name": "WorkerGpuMemAmountTotal"
},
{
"panel_id": "247",
"panel_name": "WorkerGpuUtil"
},
{
"panel_id": "249",
"panel_name": "WorkerGpuMemUtil"
},
{
"panel_id": "251",
"panel_name": "WorkerGpuMemAmount"
}
]
}