workspace__ShowDesktopMonitorData
Retrieve desktop monitoring data such as CPU, memory, disk, network, and user online metrics for a specified 1-hour to 30-day period to analyze performance and usage.
Instructions
[WORKSPACE] 该接口可获取某一计算机在一段时间段(范围:1小时到30天)的数据信息(例如CPU占用率、内存占用率、用户的在线时间段等),最长数据保存时间不能超过180天。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"desktop_id": "<desktop_id>",
"end_time": "<end_time>",
"project_id": "<project_id>",
"start_time": "<start_time>"
},
"name": "workspace__ShowDesktopMonitorData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | 监控结束时间:由日期加时间组成,UTC格式,例如“2021-05-11T11:45:42Z”。 | |
| desktop_id | Yes | 桌面ID。 | |
| project_id | Yes | 项目ID。 | |
| start_time | Yes | 监控开始时间:由日期加时间组成,UTC格式,例如“2021-05-11T11:45:42Z”。 | |
| metric_name | No | 监控查询指标:例如 "cpu_util",详情见下表;当metric_name为空时,为批量查询| 指标 | 指标名称 | 测量对象 | 监控周期 || ------------------------------------- | ----------------- | ------------ | -------- || cpu_util | CPU使用率 | 云桌面 | 5分钟 || mem_util | 内存使用率 | 云桌面 | 5分钟 || disk_util_inband | 磁盘使用率 | 云桌面 | 5分钟 || disk_read_bytes_rate | 磁盘读带宽 | 云桌面 | 5分钟 || disk_write_bytes_rate | 磁盘写带宽 | 云桌面 | 5分钟 || disk_read_requests_rate | 磁盘读IOPS | 云桌面 | 5分钟 || disk_write_requests_rate | 磁盘写IOPS | 云桌面 | 5分钟 || network_incoming_bytes_rate_inband | 带内网络流入速率 | 云桌面 | 5分钟 || network_outgoing_bytes_rate_inband | 带内网络流出速率 | 云桌面 | 5分钟 || network_incoming_bytes_aggregate_rate | 带外网络流入速率 | 云桌面 | 5分钟 || network_outgoing_bytes_aggregate_rate | 带外网络流出速率 | 云桌面 | 5分钟 || network_vm_connections | 网络连接数 | 云桌面 | 5分钟 || cpu_credit_usage | CPU积分使用量 | 云桌面 | 5分钟 || cpu_credit_balance | CPU积分累积量 | 云桌面 | 5分钟 || cpu_surplus_credit_balance | CPU超额积分累积量 | 云桌面 | 5分钟 || cpu_surplus_credit_charged | CPU超额积分收费量 | 云桌面 | 5分钟 || user_online_info | 用户在线信息 | 云桌面 | - | |