aom__ShowMetricsData
Queries Huawei Cloud AOM monitoring metric data for a specified time range, with configurable dimensions, data granularity, and statistics.
Instructions
[AOM] 该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。
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": {
"metrics": "<metrics>",
"period": "<period>",
"project_id": "<project_id>",
"statistics": "<statistics>",
"timerange": "<timerange>"
},
"name": "aom__ShowMetricsData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | 监控数据粒度。取值范围(枚举):60(表示粒度为1分钟),300(表示粒度为5分钟),900(表示粒度为15分钟),3600(表示粒度为1小时)。 | |
| metrics | Yes | 指标对象列表。 | |
| fillValue | No | 用于对查询到的监控数据进行断点插值,默认值为-1。 | -1 |
| timerange | Yes | timeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。 | |
| project_id | Yes | 租户从IAM申请到的projectid,一般为32位字符串。 | |
| statistics | Yes | 统计方式。 |