获取面板列表
接口描述
GET
/monitor/ts/data/v1/subscriptions/:subscription_name/resourceGroups/:resource_group_name/zones/:zone/telemetryStations/:telemetry_station_name/dashboards/:dashboard_name/panels
获取面板列表
请求头(Request Header)
请求参数(Request Parameters)
名称 | 类型 | 必须 | 位置 | 默认值 | 取值范围 | 描述 |
---|---|---|---|---|---|---|
subscription_name | string | 是 | path | - | - | 订阅 |
resource_group_name | string | 是 | path | - | - | 资源组 |
zone | string | 是 | path | - | - | 可用区 |
telemetry_station_name | string | 是 | path | - | - | 监控空间 |
dashboard_name | string | 是 | path | - | - | 仪表盘名称 |
请求体(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_id | string | 面板ID |
panel_name | string | 面板名称 |
响应示例(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"
}
]
}