ListDIJobMetrics

Updated at:

Retrieves the metrics of a data integration task.

Operation description

DataWorks Basic Edition or higher is required.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • resourceUtilization: Resource group utilization. This metric is supported only for serverless resource groups.

  • delayTime: Task latency.

  • totalRecordsRead: Number of records synchronized from the source.

  • speedRecordsRead: Synchronization speed at the source.

  • totalRecordsWrite: Number of records synchronized to the destination.

  • speedRecordsWrite: Synchronization speed at the destination.

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.

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.