Queries metrics for a synchronization task.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| DIJobId | string | No | The ID of the synchronization task. | 11265 |
| StartTime | long | Yes | The beginning of the time range to query. | 1586509407 |
| EndTime | long | Yes | The end of the time range to query. | 1712205941 |
| MetricName | array | Yes | The metrics that you want to query. | |
| string | Yes | The name of the metric. The following six metrics are supported:
| delayTime |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "691CA452-D37A-4ED0-9441",
"PagingInfo": {
"JobMetrics": [
{
"Name": "JobDelay",
"SeriesList": [
{
"Time": 1716881141,
"Value": 10
}
]
}
]
}
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-10-15 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
