Todos os produtos
Search
Central de documentação

DataWorks:ListDIJobEvents

Última atualização: Jun 26, 2026

Consulta os eventos de uma tarefa de sincronização.

Descrição da operação

Esta operação de API está disponível para todas as edições do DataWorks.

Experimente agora

Experimente esta API no OpenAPI Explorer, sem necessidade de assinatura manual. Chamadas bem-sucedidas geram automaticamente código SDK correspondente aos seus parâmetros. Faça o download com segurança de credenciais integrada para uso local.

Testar

Autorização RAM

Nenhuma autorização necessária para esta operação. Se você encontrar problemas com esta operação, entre em contato com o suporte técnico.

Parâmetros da solicitação

Parâmetro

Tipo

Obrigatório

Descrição

Exemplo

DIJobId

integer

Não

O ID da tarefa de sincronização.

11588

EventType

string

Sim

O tipo de evento que você deseja consultar. Valores válidos: Failover, Alarm e DDL.

Alarm

StartTime

integer

Sim

O início do intervalo de tempo a ser consultado.

1716971005

EndTime

integer

Sim

O fim do intervalo de tempo a ser consultado.

1717971005

PageNumber

integer

Não

O número da página. As páginas começam na página 1. Valor padrão: 1.

1

PageSize

integer

Não

O número de entradas por página. Valor padrão: 10. Valor máximo: 100.

10

Elementos de resposta

Elemento

Tipo

Descrição

Exemplo

object

Esquema da resposta.

RequestId

string

O ID da solicitação. Você pode localizar logs e solucionar problemas com base no ID.

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

PagingInfo

object

As informações de paginação.

TotalCount

integer

O número total de entradas retornadas.

2524

PageSize

integer

O número de entradas por página.

10

PageNumber

integer

O número da página.

1

DIJobEvent

array<object>

Os eventos retornados. O valor deste parâmetro é uma matriz.

object

Os detalhes sobre um único evento.

Id

string

The event ID.

1

CreateTime

string

The time when the event was created.

1663573162

FailoverMessage

string

The error logs for failovers.

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

The severity level of the alert. Valid values: Warning and Critical.

Warning

Channels

string

The alert notification method. Valid values: Phone, Mail, Sms, Ding, and Webhook.

Phone

Status

string

The sending status of an alert notification. Valid values: Success, Fail, and Silence.

Success

Detail

string

The alert details.

Data integration sync task exception: Level: WARNING, DataWorks project name:** [Region: cn-shanghai], Task name:**, Alert rule: Business delay, aggregator:avg [**] for 5 minutes, service maybe abnormal.

Type

string

The type of the alert event.

  • Heartbeat

  • Delay

  • FailoverCount

  • DdlReport

  • ResourceUtilization

Delay

Action

string

The processing result of the DDL event. Valid values: Critical, Ignore, Normal, and Warning.

Ignore

SrcTable

string

The name of the source table.

table1

DstTable

string

The name of the destination table.

table2

SrcSql

string

The DDL statement of the source table.

alter table table1 ***

DstSql

string

The DDL statement of the destination table.

alter table table2 ***

Exemplos

Resposta de sucesso

JSON formato

{
  "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 sync task exception: Level: WARNING, DataWorks project name:** [Region: cn-shanghai], Task name:**, Alert rule: Business delay, aggregator:avg [**] for 5 minutes, service maybe abnormal.",
        "Type": "Delay",
        "Action": "Ignore",
        "SrcTable": "table1",
        "DstTable": "table2",
        "SrcSql": "alter table table1 ***",
        "DstSql": "alter table table2 ***"
      }
    ]
  }
}

Códigos de erro

Consulte Códigos de Erro para uma lista completa.

Notas de versão

Consulte Notas de Versão para uma lista completa.