文档

QueryReleaseMetric - 查看不同版本的指标

更新时间:

查询EDAS和K8s应用发布过程中不同版本的指标。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
Pidstring

EDAS 或 K8s 应用 ID。

8b46d03f-5947-449d-90fd-3a96c2******
ChangeOrderIdstring

发布单 ID。

a341a2f2-ed07-4257-aae9-dfb1be******
ReleaseStartTimelong

版本发布的开始时间。

1632798686692
ReleaseEndTimelong

版本发布的截止时间。

1632798718632
CreateTimelong

发布单创建时间。

1634005438000
Servicestring

查询的指定接口。

clothservice
MetricTypestring

查询的指标类型。

SystemContrast
ProxyUserIdstring

当前参数暂不支持使用。

null

返回参数

名称类型描述示例值
object
Datastring

返回的指标数据对比。

{"data":{"SystemCpuUser":{"all":[{"date":1632798718000,"val":4.3277,"dim":"SystemCpuUser"},{"date":1632798733000,"val":8.1091,"dim":"SystemCpuUser"}]},"SystemMemUtil":{"all":[{"date":1632798718000,"val":73.4227,"dim":"SystemMemUtil"},{"date":1632798733000,"val":93.0977,"dim":"SystemMemUtil"}]}},"success":true}
RequestIdstring

请求 ID。

46355DD8-FC56-40C5-BFC6-269DE4F9****

示例

正常返回示例

JSON格式

{
  "Data": "{\"data\":{\"SystemCpuUser\":{\"all\":[{\"date\":1632798718000,\"val\":4.3277,\"dim\":\"SystemCpuUser\"},{\"date\":1632798733000,\"val\":8.1091,\"dim\":\"SystemCpuUser\"}]},\"SystemMemUtil\":{\"all\":[{\"date\":1632798718000,\"val\":73.4227,\"dim\":\"SystemMemUtil\"},{\"date\":1632798733000,\"val\":93.0977,\"dim\":\"SystemMemUtil\"}]}},\"success\":true}",
  "RequestId": "46355DD8-FC56-40C5-BFC6-269DE4F9****"
}

错误码

HTTP status code错误码错误信息
400IdempotentParameterMismatchThe request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈