查询监控项列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
rocketmq:ListMetricMeta |
list |
*全部资源
|
无 | 无 |
请求语法
GET /monitor/metrics/meta HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| pageNumber |
integer |
是 |
分页页码,查询第几页的返回结果。 |
1 |
| pageSize |
integer |
是 |
分页大小,每页做多显示的返回结果数量。 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Result<MyPage |
||
| requestId |
string |
请求 ID |
8B459455-4A35-5796-BA9D-98EF1AB9A931 |
| success |
boolean |
是否成功 |
true |
| data |
object |
返回结果 |
|
| pageNumber |
integer |
当前页码 |
1 |
| pageSize |
integer |
分页大小 |
10 |
| totalCount |
integer |
总记录数 |
1 |
| list |
array<object> |
分页数据 |
|
|
object |
监控项列表。 |
||
| metricName |
string |
监控项名称 |
SendMessageCountPerInstance |
| description |
string |
监控项描述 |
Using Serverless Devs to deploy the infrastructure of project:get-userinfo-v1-infrastructure-as-template-project |
| category |
string |
监控项标签 |
Bug |
| code |
string |
错误码 |
Topic.NotFound |
| message |
string |
错误信息 |
The topic already exists. |
| httpStatusCode |
integer |
HTTP 状态码 |
200 |
| dynamicCode |
string |
动态错误码 |
InstanceId |
| dynamicMessage |
string |
动态错误信息 |
instanceId |
示例
正常返回示例
JSON格式
{
"requestId": "8B459455-4A35-5796-BA9D-98EF1AB9A931",
"success": true,
"data": {
"pageNumber": 1,
"pageSize": 10,
"totalCount": 1,
"list": [
{
"metricName": "SendMessageCountPerInstance",
"description": "Using Serverless Devs to deploy the infrastructure of project:get-userinfo-v1-infrastructure-as-template-project",
"category": "Bug"
}
]
},
"code": "Topic.NotFound",
"message": "The topic already exists.",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "instanceId"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。