aom__ListInstantQueryAomPromPost
Queries Huawei Cloud AOM metrics by evaluating a PromQL expression at a specific Unix timestamp for a project, returning the instant query result.
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": {
"project_id": "<project_id>",
"query": "<query>"
},
"name": "aom__ListInstantQueryAomPromPost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | 指定用于计算 PromQL 的时间戳,(Unix时间戳格式,单位:秒)。 | |
| query | Yes | PromQL表达式(参考https://prometheus.io/docs/prometheus/latest/querying/basics/)。 | |
| project_id | Yes | 租户从IAM申请到的projectid,一般为32位字符串。 |