aom__ListRangeQueryAomPromPost
Query Huawei Cloud AOM metrics using PromQL over a defined time range and return computed results at each step interval.
Instructions
[AOM] 该接口使用POST方法查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。
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": {
"end": "<end>",
"project_id": "<project_id>",
"query": "<query>",
"start": "<start>",
"step": "<step>"
},
"name": "aom__ListRangeQueryAomPromPost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | 结束时间戳(Unix时间戳格式,单位:秒)。 | |
| step | Yes | 查询时间步长,时间区内每step秒执行一次。 | |
| query | Yes | PromQL表达式(参考https://prometheus.io/docs/prometheus/latest/querying/basics/)。 | |
| start | Yes | 起始时间戳(Unix时间戳格式,单位:秒)。 | |
| project_id | Yes | 租户从IAM申请到的projectid,一般为32位字符串。 |