aom__ListInstantQueryAomPromGet
Query PromQL expressions at a specific Unix timestamp to retrieve instant metric results for Huawei Cloud AOM projects. Use it to evaluate current or historical metric values at a point in time.
Instructions
[AOM] 该接口使用GET方法查询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__ListInstantQueryAomPromGet"
}
}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位字符串。 |