dws__ListMetricsData
Retrieves collected DWS metric data for a cluster and metric name within a specified time range using timestamps. Use it to query performance metrics for monitoring and analysis.
Instructions
[DWS] 获取指定指标相关采集数据。
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": {
"cluster_id": "<cluster_id>",
"from": "<from>",
"limit": "<limit>",
"metric_name": "<metric_name>",
"offset": "<offset>",
"project_id": "<project_id>",
"to": "<to>"
},
"name": "dws__ListMetricsData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 采集结束时间,13位时间戳。开始时间到结束时间最多不超过一天。 | |
| from | Yes | 采集开始时间,13位时间戳。 | |
| limit | Yes | **参数解释**: | |
| offset | Yes | **参数解释**: | |
| sort_by | No | 正序还是倒叙。固定取值。 | |
| order_by | No | 排序字段。固定取值。 | |
| cluster_id | Yes | **参数解释**: | |
| project_id | Yes | **参数解释**: | |
| metric_name | Yes | 指标名称。 |