ListDIJobMetrics
Retrieves the metrics of a data integration task.
Operation description
DataWorks Basic Edition or higher is required.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DIJobId |
integer |
No |
The ID of the synchronization task. You can obtain the ID from the DIJobs[].Id parameter returned by calling the ListDIJobs operation with the ProjectId parameter specified. This parameter is actually required. If you do not specify this parameter, the error code 406100 (Missing required parameter 'dIJobId') is returned. |
11265 |
| StartTime |
integer |
Yes |
The start time of the metric query. The value is a UNIX timestamp in seconds. |
1586509407 |
| EndTime |
integer |
Yes |
The end time of the metric query. The value is a UNIX timestamp in seconds. |
1712205941 |
| MetricName |
array |
Yes |
The list of metrics to query. |
|
|
string |
No |
The name of the metric to query. Valid values:
|
delayTime |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
691CA452-D37A-4ED0-9441 |
| PagingInfo |
object |
The pagination information. |
|
| JobMetrics |
array<object> |
The list of task metrics. |
|
|
array<object> |
The information about a single metric. |
||
| Name |
string |
The name of the queried metric. |
JobDelay |
| SeriesList |
array<object> |
The metric array, which consists of a series of sampling times and values at different points in time. |
|
|
object |
The metric content. |
||
| Time |
integer |
The sampling time. The value is a 10-digit number, such as |
1716881141 |
| Value |
number |
The sample value. |
10 |
Examples
Success response
JSON format
{
"RequestId": "691CA452-D37A-4ED0-9441",
"PagingInfo": {
"JobMetrics": [
{
"Name": "JobDelay",
"SeriesList": [
{
"Time": 1716881141,
"Value": 10
}
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.