CreateDIAlarmRule
Create alert rules for DataWorks data integration tasks to monitor status, delays, failures, and DDL changes with configurable thresholds and notifications.
Instructions
创建数据集成同步任务告警规则 *This Tool has a 'MCP Resource',please request CreateDIAlarmRule(MCP Resource) to get more examples for using this tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"MetricType": "<MetricType>",
"Name": "<Name>",
"TriggerConditions": "<TriggerConditions>",
"NotificationSettings": "<NotificationSettings>"
},
"name": "CreateDIAlarmRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| MetricType | Yes | 告警指标类型,可选的枚举值:- Heartbeat(任务状态报警)- FailoverCount(failover次数报警)- Delay(任务延迟报警)- DdlReport(DDL通知)- ResourceUtilization(资源组使用率) | |
| DIJobId | No | 任务ID,是告警规则关联的任务ID | |
| Name | Yes | 告警规则名称 | |
| TriggerConditions | Yes | 告警触发条件列表,支持多条件 | |
| NotificationSettings | Yes | 告警通知设置 | |
| Description | No | 描述 | |
| Enabled | No | 告警规则是否启用,默认不开启 | |
| ClientToken | No | 幂等参数 |