查询DTS任务的监控指标(1) 响应参数 参数 参数类型 说明 示例 下级对象 httpStatusCode Integer 状态码 errCode String 错误码 errMessage String 提示信息 success Boolean 请求是否成功 requestId String 请求id data Object DTS监控指标数据 DtsMetricsVO 表 DtsMetricsVO 参数 参数类型 说明 示例 下级对象 planConfigId Integer 任务ID metrics Map of String 监控指标,键为指标名称、值为指标集合;无数据时不保留对应指标键,详见示例 MetricUnits 表 MetricUnit 参数 参数类型 说明 示例 下级对象 pointTime String 数据时间点 pointValue Double 监控指标数值 枚举参数 无 请求示例 请求url 请求头header 无 请求体body { "dtsJobId": "513", "beginTime": "20260610 18:11:44", "endTime": "20260611 18:11:44", "metricNames": [ "SOURCEFULLBPS", "TARGETFULLBPS", "SOURCEFULLRPS", "TARGETFULLRPS" ] } 响应示例 { "httpStatusCode": 200, "success": true, "requestId": "006a2a89e5e287ec6ca4d18c11bc3871838625e9c6b4a5d74400", "data": { "planConfigId": 513, "metrics": { "SOURCEFULLRPS": [ { "pointTime": "20260611 17:07:05", "pointValue": 0.0 }, { "pointTime": "20260611 17:07:25", "pointValue": 0.0 } ], "TARGETFULLBPS": [ { "pointTime": "20260611 17:07:05", "pointValue": 0.0 }, { "pointTime": "20260611 17:07:25", "pointValue": 0.0 } ], "SOURCEFULLBPS": [ { "pointTime": "20260611 17:07:05", "pointValue": 0.0 }, { "pointTime": "20260611 17:07:25", "pointValue": 0.0 } ], "TARGETFULLRPS": [ { "pointTime": "20260611 17:07:05", "pointValue": 0.0 }, { "pointTime": "20260611 17:07:25", "pointValue": 0.0 } ] } } }
来自: