全部產品
Search
文件中心

DataWorks:ListDIJobEvents - 擷取Data Integration同步任務的運行事件列表

更新時間:Mar 21, 2026

擷取Data Integration任務事件。

介面說明

需要購買 DataWorks 基礎版及以上版本才能使用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

DIJobId

integer

執行個體 ID。

11588

EventType

string

查詢的 Event 類型,目前支援 Failover/Alarm/DDL。

Alarm

StartTime

integer

起始時間。

1716971005

EndTime

integer

結束時間。

1717971005

PageNumber

integer

頁碼,從 1 開始,預設值為 1。

1

PageSize

integer

每頁顯示的條數,預設為 10 條,最大 100 條。

10

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

請求的 ID。用於定位日誌,排查問題。

645F6D68-9C29-5961-80B1-BDD4****

PagingInfo

object

分頁資訊

TotalCount

integer

滿足條件的資料總條數。

2524

PageSize

integer

每頁顯示的條數

10

PageNumber

integer

請求的資料頁數,用於翻頁。

1

DIJobEvent

array<object>

事件的數組

object

單個事件的詳情。

Id

string

事件唯一 ID。

1

CreateTime

string

建立時間。

1663573162

FailoverMessage

string

Failover 的報錯日誌。

2024-05-29 15:11:31,377 [main] INFO com.*.**.di.core.metrics.:21 [] {****} 2024-05-29 15:11:31,384 [main] INFO *.aliyun.*.di.*.*.metrics.*:27 [] - Open MarioDiReporter 2024-05-29 15:11:33,248 [flink-akka.*.*-dispatcher-17] INFO

Severity

string

警示嚴重程度,取值範圍:Warning/Critical。

Warning

Channels

string

警示的發送方式,取值範圍:Phone/Mail/Sms/Ding/Webhook。

Phone

Status

string

警示的發送狀態,取值範圍:Success/Fail/Silence。

Success

Detail

string

警示詳情。

Data Integration同步任務異常: Level: WARNING, DataWorks專案名:** [Region: cn-shanghai], 任務名:**, 警示規則:業務延遲, aggregator:avg [**] for 5 minutes, service maybe abnormal

Type

string

警示事件類型

  • Heartbeat: 任務心跳警示

  • Delay: 任務延遲警示

  • FailoverCount: failover 次數警示

  • DdlReport: DDL 通知

  • ResourceUtilization: 資源群組使用率。

Delay

Action

string

DDL 事件的處理結果,取值範圍:Critical/Ignore/Normal/Warning。

Ignore

SrcTable

string

來源表名。

table1

DstTable

string

去向表名。

table2

SrcSql

string

來源表 DDL 語句。

alter table table1 ***

DstSql

string

去向表 DDL 語句。

alter table table2 ***

樣本

正常返回樣本

JSON格式

{
  "RequestId": "645F6D68-9C29-5961-80B1-BDD4****",
  "PagingInfo": {
    "TotalCount": 2524,
    "PageSize": 10,
    "PageNumber": 1,
    "DIJobEvent": [
      {
        "Id": "1",
        "CreateTime": "1663573162",
        "FailoverMessage": "2024-05-29 15:11:31,377 [main] INFO com.*.**.di.core.metrics.:21 []  {****} \n2024-05-29 15:11:31,384 [main] INFO *.aliyun.*.di.*.*.metrics.*:27 [] - Open MarioDiReporter \n2024-05-29 15:11:33,248 [flink-akka.*.*-dispatcher-17] INFO ",
        "Severity": "Warning",
        "Channels": "Phone",
        "Status": "Success",
        "Detail": "Data Integration同步任務異常: Level: WARNING, DataWorks專案名:** [Region: cn-shanghai], 任務名:**, 警示規則:業務延遲, aggregator:avg [**] for 5 minutes, service maybe abnormal",
        "Type": "Delay",
        "Action": "Ignore",
        "SrcTable": "table1",
        "DstTable": "table2",
        "SrcSql": "alter table table1 ***",
        "DstSql": "alter table table2 ***"
      }
    ]
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情