All Products
Search
Document Center

DataWorks:Intelligent Monitoring

Last Updated:Oct 26, 2026

After a task exception or alert occurs, AI monitoring automatically generates a work item and assigns an agent to analyze the cause and provide diagnostic evidence and handling recommendations. The owner can continue the handling in the Workbench, or confirm the plan and perform O&M operations through an IM collaboration bot. Node monitoring continuously tracks the instance status and automatically closes the corresponding work item after the instance recovers. General workflow: Select a monitored object → Configure monitoring and notifications → Review the exception analysis → Confirm and perform the handling → Check the recovery result.

Monitored objects

Select the corresponding entry based on the object that you want to protect. The feature is named Intelligent Monitoring in the console.

Important

Enabling monitoring does not mean that fixes are performed automatically. After the agent completes the analysis, you still need to confirm whether to perform operations such as rerunning, modifying code, or switching resource groups based on the recommendations. The agent has no more permissions than you do, and O&M operations require your confirmation.

Goal

Object

Configuration or handling entry

System response

Detect failures, excessive resource waits, or slow runs for recurring nodes

Node

Operation Center: Recurring Tasks; in DataStudio, the node's Scheduling Configuration

After the configuration takes effect, analysis is initiated for supported exceptions of production environment instances, and subsequent status changes are tracked.

Ensure that key tasks are completed on time and analyze the causes of warnings or baseline breaks

Baseline

Operation Center: Intelligent Baseline > Baseline Management; Workbench: Configure Monitoring > Baseline

After a baseline triggers a warning or a baseline break alert, a work item is generated and an agent is assigned for diagnosis. The original alert delivery is not affected.

Analyze exceptions that have already occurred and their impact on baselines

Baseline event

Operation Center: Intelligent Baseline > Event Management, the target event's AI Diagnostics; the related work item in the Workbench

Initiates a diagnosis with the event and task instance information to help determine the exception cause and the affected baselines.

Monitor tasks with custom conditions and analyze alerts

Custom rule

Operation Center: Monitoring and Alerting > Rule Management; Workbench: Configure Monitoring > Custom Rule

After an enabled rule triggers a supported alert condition, a work item is generated and an agent is assigned for analysis.

After you enable monitoring for the preceding objects, you can view and handle any exception in a unified manner in Operation Center > Workbench. You can also configure an IM bot for the monitoring agent so that you can perform O&M operations in natural language through channels such as DingTalk, Lark, and WeCom.

Preparations

  1. Log on to the DataWorks console and switch to the target region and workspace.

  2. Go to DataStudio and O&M > Operation Center, or go to the DataStudio page of the target workspace.

  3. Make sure that the current account has the management or edit permissions on the target object, and that the agent service activation conditions described on the page are met.

  4. To receive monitoring notifications in an IM group and continue the handling, you must first Unified IM Gateway configure a bot, and prepare a webhook for notification messages.

Note

Webhooks and IM bots serve different purposes. A webhook is used only to send diagnostic results and work item notifications (for example, you can obtain a DingTalk webhook by adding a bot to a group chat). An IM bot can help handle work items in a group only after it is bound to an agent and authorized by a user. If no webhook is configured, you can still view the results in the Workbench or in the monitoring records of the object.

Step 1: Enable monitoring

Intelligent Monitoring provides automated AI diagnostics capabilities for core tasks and business goals. After it is enabled, when the system detects a preset exception such as a task failure or a slow run, an agent is automatically triggered to perform root cause analysis, and the diagnostic report is delivered through the specified channels to help you respond to and locate the issue quickly.

Recurring nodes

Configure in Operation Center

Scenarios: Enable monitoring for recurring nodes that have been deployed to the production environment.

  • To configure a single node:

    1. Go to Operation Center > Recurring Task O&M > Recurring Tasks, and select the target workspace and the production environment.

    2. Find the target node in the node list, and in the Actions column, click Intelligent Monitoring.

    3. In the configuration panel that appears, turn on the monitoring switch.

    4. (Optional) In Message Delivery > Webhook, add a notification address, and click Send Test Message to verify it.

    5. Click OK to save the configuration.

  • To configure nodes in batches:

    1. Go to the Recurring Tasks page of the target workspace.

    2. Select the nodes that you want to configure, and in the batch operation area at the bottom of the list, click Intelligent Monitoring.

    3. Set the monitoring switch and the webhook address.

    4. After you confirm the selected nodes and the configuration, click OK to save the configuration.

Note
  • Scope: Only recurring scheduling nodes in the production environment are supported. Exceptions of the generated recurring, data backfill, and test instances can all be detected.

  • Effective time: The configuration is expected to take effect within 5 minutes after it is saved.

  • Status: "Monitoring" in the node list only indicates that the configuration is enabled. It does not mean that an exception has occurred.

Configure monitoring in DataStudio

This method applies when you want to set up monitoring while you edit the scheduling configuration of a node.

  1. Open the target node in DataStudio and go to the Scheduling Configuration panel.

  2. Click Enable Intelligent Monitoring in the upper-right corner of the panel. If monitoring is already enabled, Intelligent Monitoring Enabled is displayed.

  3. In the dialog box, set the monitoring switch, add and test a webhook address as needed, and then click OK.

  4. Save the node and deploy the configuration to the production environment by following the commit and deployment process of the workspace.

After you confirm the configuration in the DataStudio dialog box, you still need to commit and deploy the node. Do not treat a configuration in the development state as already effective in the production environment.

Note
  • How it takes effect: A configuration made in DataStudio is saved only in the development state. Monitoring takes effect only after the configuration is deployed to the production environment.

  • Trigger scope: Instance failures in the development environment do not trigger monitoring.

  • Entry visibility: The entry is displayed only for node types that support this capability, such as ODPS SQL. It is not displayed for combined nodes or ForEach nodes.

Node exception types

Node monitoring uses the exception types provided by the system. You do not need to select events one by one, and custom duration thresholds are not supported.

Exception type

Detection criteria described on the page

What to check

Instance failure

A production environment instance fails to run.

Check the error message, logs, and dependency status. After you identify the cause of the failure, select a handling method.

Excessive resource wait

Both of the following conditions are met: The wait duration exceeds 1.5 times the median historical resource wait duration of the same node, and it is at least 5 minutes longer than the baseline.

Check the resource group, the queue, and the available resources to determine whether the resources used by the current instance need to be adjusted.

Slow running

Both of the following conditions are met: The run duration exceeds 1.5 times the median historical run duration of the same node, and it is at least 10 minutes longer than the baseline.

Check the run logs, historical durations, and resource usage to identify performance or data volume changes.

Baselines

This applies to AI analysis after alerts are enabled for an existing key business baseline.

  1. In Operation Center, go to Intelligent Baseline > Baseline Management and find the target baseline.

  2. Make sure that the baseline is enabled, and configure the guaranteed tasks, the committed time, and the warning settings as required by your business.

  3. In the Actions column of the baseline, click Intelligent Monitoring.

  4. On the Monitoring Configuration tab, turn on Enable Intelligent Monitoring and configure a webhook for diagnostic results as needed.

  5. Click OK and return to the list to verify the Monitoring indicator.

After monitoring is enabled, when the baseline triggers a warning or a baseline break alert, the system generates a work item and assigns an agent for analysis. AI monitoring does not replace the committed time, warning configuration, or original alert notifications of the baseline itself.

Custom rules

This applies to enabling AI analysis for tasks that require a custom monitoring scope or alert threshold.

  1. In Operation Center, go to Monitoring and Alerting > Rule Management.

  2. Create or edit a custom rule, and set the rule name, owner, object type, monitored object, trigger conditions, and alert actions. Make sure that the rule itself is enabled.

  3. For a supported trigger condition, in the Alert Action section, select Enable Intelligent Monitoring, configure diagnostic result notifications as needed, and then save the rule.

  4. You can also click Intelligent Monitoring or Monitoring in the Actions column of an existing rule, and then enable and save it in Monitoring Configuration.

The following custom rule trigger conditions support Intelligent Monitoring. The conditions that you can actually select are also limited by the monitored object and the availability scope of the feature.

Trigger condition

Configuration notes

Not completed

Configure the check time. This condition is triggered when the task has not run successfully by the specified time.

Error

Select the tasks or workspace to monitor. This condition is triggered when a task runs with errors.

Cycle not completed

Configure the target cycle and the check time of hourly tasks.

Timeout

Configure the timeout condition in the original rule. The historical duration threshold of node monitoring is not used as a replacement.

Error after an automatic rerun

If a task is configured to rerun automatically upon errors, this condition focuses on failures that persist after the rerun. If automatic rerun is not configured, an alert can be sent directly when the task runs with errors.

Task logs contain a keyword

Set the matching keywords in the original rule. This condition is triggered when the log matching condition is met.

Note

Not all monitoring rules support AI monitoring. Global rules, completion notifications, instance count fluctuations, the number or proportion of failed instances, resource group utilization, and the number of resource instances such as resource groups, among others, are not supported by the current monitoring entry. The alert timing after a rule is triggered is determined by the configuration of the rule itself.

Configure baselines or custom rules in batches

Unlike batch configuration for nodes, batch configuration for baselines and rules supports item-by-item checks and result display.

  1. In the corresponding list or in Configure Monitoring of the Workbench, select multiple objects of the same type.

  2. Click the batch monitoring entry and view the number of objects that can be configured and the number of objects that are skipped.

  3. Set Monitoring Status to On or Off.

  4. When you turn it on, select how diagnostic result notifications are handled.

Method

Effect

Keep individual configurations

The original notification channels and @ mention policies of each object are retained. Only the monitoring switch is updated.

Unified configuration

The notification channels and @ mention policies that you specify this time replace the original configuration of each object instead of being merged with it. Specify at least one valid and unique webhook address.

Turn off

Intelligent Monitoring is turned off for the selected objects, and their notification configurations are retained.

  1. Click Apply Settings and view the Succeeded, Skipped, and Failed results item by item.

  2. If failed items exist, click Recheck Failed Items, and verify the failed objects before you handle them.

If the page indicates that no result has been obtained, the operation may have already been performed. Verify the object status first, and then use the retry provided in the current dialog box. Do not interpret a failed response as meaning that nothing was saved.

Step 2: Configure notifications and group collaboration

Send diagnostic results to message channels

Add a webhook in the monitoring configuration of the object. Enter a valid HTTP or HTTPS address. You cannot add the same address more than once.

  • Node monitoring uses an address list. You can add multiple addresses and test them one by one. The message type and @ mention policy options available in the baseline and rule forms are not provided.

  • Baseline and rule monitoring provides message types such as DingTalk, Lark, WeChat, and Custom. For DingTalk and Lark, you can configure @All or @Owner, which are mutually exclusive. Other message types do not provide this @ mention policy.

  • After you click Send Test Message, confirm on the receiving end that the message is delivered. The test only verifies the message channel. It does not simulate a task exception and is not equivalent to generating a real diagnostic result.

  • Diagnostic result notifications for baselines and rules are sent after the diagnosis is completed and contain the result and a link to the work item. If you leave the field empty, no notification is pushed. This is a different notification from the original alert message.

Message delivery for node monitoring is used to receive analysis conclusions. Do not conclude that monitoring did not run only because you did not receive a group message. Also check the monitoring records and the work items in the Workbench.

Configure and authorize an IM bot

To start handling directly from an IM group after you receive a monitoring notification, you must first configure an IM bot and authorize it to help handle the work items owned by the current user.

Prerequisites:

  • A notification webhook is configured for the monitored object, and the target group can receive monitoring notifications that contain work item information.

  • An enabled IM bot already exists in the same tenant, and the bot is bound to the Data O&M agent.

  • The IM bot has joined the group that receives monitoring notifications. The user who starts the handling is the owner of the target work item and has the required O&M operation permissions.

Procedure:

  1. In Operation Center, go to AI Workbench > Workbench and click Agent Collaboration Settings.

  2. If no bot is available in the current tenant, click Configure IM Bot, create and enable a bot in the unified IM gateway, and bind the agent type Expert Domain Agent - Data O&M to it.

  3. Return to Agent Collaboration Settings, and search for and select the bot that you want to authorize in Collaboration Bots. You can authorize up to 50 IM bots in the same tenant, and you can also select bots created by other members of the same tenant.

    Note

    Agent collaboration settings are isolated per user. Through these settings, the owner of a work item authorizes a collaboration agent to perform related operations on the owner's behalf within the owner's own permission scope.

  4. Click Save.

  5. In the target group, quote the work item notification sent by the notification bot, @ mention the authorized IM bot, and describe the handling requirements. After the bot replies that it has started the handling, you can continue to view the progress and add instructions in the group.

Important

Authorizing a bot does not change the owner of the work item or the execution identity. The IM bot performs operations with the identity and permissions of the current owner. O&M operations such as rerunning, modifying code, or switching resource groups still require user confirmation. Configuring only a notification webhook cannot replace the configuration and authorization of an IM bot.

Step 3: Handle issues after an alert

After Intelligent Monitoring detects a supported exception, the system creates or updates the corresponding work item and triggers an agent analysis. You can view the analysis progress, diagnostic results, and handling recommendations in the work item. Work items are the unified entry for you to handle all automated diagnostic results.

Access work items

You can view work items in two ways:

  • From the object: Open the monitoring dialog box of a node, baseline, or rule, switch to Monitoring Records, and click View Details of the corresponding work item.

  • Centralized view: In Operation Center, go to AI Workbench > Workbench and search by source, task instance ID, task ID, baseline ID, custom rule ID, work item ID, or title. You can also aggregate work items by node or baseline to view the related instances.

Understand work item details

On the work item details page, you see a structured diagnostic report. When you view a record, also verify the source, data timestamp, and instance cycle to avoid treating another instance of the same node or an issue from a different source as the target of this handling.

Details section

What you can view

Next step

Summary

The issue, evidence, recommended actions, resources, and source. If handling results already exist, a handling summary is displayed.

Confirm the exception object, the impact scope, and the owner.

Agent

The diagnostic details, the handling process, and the follow-up conversation.

The owner of the current work item supplements information, confirms the plan, and continues the handling.

Activity Log

Alerts, pre-processing, status changes, and the handling progress that has been written back.

Verify the execution process and the recovery evidence to facilitate handover and acceptance.

  • Visibility: The work item list and summary are visible to all users who have permissions to access the workspace.

  • Handling permissions: The agent diagnostic details and the follow-up handling conversation are available only to the owner of the current work item.

  • Ownership: The owner of a node monitoring work item is the owner of the node by default, regardless of who configured the monitoring.

  • Permission isolation: The operation permissions of the agent are exactly the same as those of the currently logged-on user. You cannot act on behalf of another owner to perform operations beyond that owner's permission scope.

Handle work items

After the issue is understood, the owner can perform the handling operations in either of the following two ways.

  1. Handle in the Workbench:

    1. Review the plan: View the diagnostic evidence and recommended actions in "Summary".

    2. Confirm interactively: Go to "Agent Diagnostic Details", converse with the agent, supplement necessary information such as the target resource group or the confirmation that a rerun is allowed, and ask the agent to provide a clear handling plan.

    3. Authorize execution: Carefully verify the plan proposed by the agent, such as rerunning an instance or modifying code, confirm the impact scope, and then authorize the agent to execute the plan.

    4. Track progress: Track the execution result of each step in the conversation or in "Activity Log".

  2. Handle in an IM tool (such as DingTalk)

    1. Start a request: After you receive a webhook notification, quote the notification in the group chat and @ the authorized collaboration bot (for example, send "Analyze this work item and provide a handling plan").

    2. Confirm the plan: The agent analyzes the context of the work item and proposes a plan.

    3. Authorize execution: The agent performs the subsequent O&M operations only after you confirm the plan in the group chat.

    4. Track progress: You can continue to ask "Check the progress" or "Check the latest run status" in the group to confirm whether the operation succeeded.

Example of handling a code error: When a task fails because of a code error, you can quote the notification and state "Check the cause of the current instance failure, and confirm the code that needs to be modified, the deployment, and the rerun scope". After the agent provides a plan, confirm the execution. If the code modification or deployment is not complete, fix and deploy the code in DataStudio first, and then handle the target failed instance. Do not treat an analysis recommendation or a deployment request as a successful deployment.
Example of handling insufficient resources: When a task fails because of insufficient scheduling resources, the agent can propose plans such as migrating the resource group of the current instance and then rerunning it, or rerunning it in the original resource group. After you confirm the target resource group, check the results of the migration taking effect, the rerun being accepted, the instance running, and the instance running successfully. Migrating the resource group of the current instance is not the same as modifying the node definition. If subsequent instances still use the original resource group, evaluate and modify the node configuration separately.

Verify recovery and update the status

After the handling is complete, the system continues to track the status. The owner should also verify the actual run results:

  1. Check whether the target instance ran successfully, and verify the data timestamp, the cycle, and the scope of this handling.

  2. If a baseline is involved, check the output of the corresponding baseline instances and key tasks. Do not conclude that the entire baseline met its goal only because one instance succeeded.

  3. If a baseline event is involved, check the recovery status and recovery time of the event and the affected baselines.

  4. View the latest analysis, the operations that have been performed, and the recovery results in the Summary and Activity Log sections of the work item.

After node monitoring finds that a tracked instance has recovered, it automatically updates the corresponding work item to Closed. The recovery can come from a rerun configured for the node, manual handling by a user, or agent handling confirmed by a user. Automatic closure does not mean that the agent performed the fix on its own.

For work items that are not automatically closed, the owner updates the status after verifying the result. To ignore a work item, first confirm that the issue no longer needs to be handled. Work items from different sources should be evaluated for recovery based on the status of their own resources. Do not apply the automatic closure rule of node monitoring to all of them.

Work item status

Current meaning

Next step for the user

Pending

An exception has been received and is waiting for analysis or further handling.

View the agent pre-processing status and the exception information.

In Progress

The issue is being handled, or analysis results are available and need to be handled.

Confirm the plan, perform the required operations, and follow up on the progress.

Pending Verification

The handling has been performed, but the result still needs to be verified.

Check the actual recovery status of the instance, baseline, or event.

Closed

The work item is finished. It may have been closed automatically after the node recovered, or closed manually by the owner.

Verify the recovery evidence and the node configuration that needs to be modified later.

Ignored

The owner chose not to continue handling the work item.

Confirm the scope of the ignore action. Do not use it to conclude that the task has recovered.

The monitoring switch, the agent status, the work item status, and the instance run status indicate different types of progress. Monitoring only indicates that the enabled configuration has been saved. Pre-processing Completed only indicates that this round of AI analysis is complete. Rerun Accepted does not mean that the instance ran successfully.

Step 4: Adjust or stop monitoring

  • Modify the diagnostic result notification configuration: Open the monitoring configuration of the target object, modify the webhook address, and save it. For baselines and rules, you can also use "Unified Configuration" in the batch settings to replace the notification channels and @ mention policies of the selected objects.

  • Turn off node monitoring: Turn off the switch and save. As described on the page, the configured webhooks are retained so that you can turn monitoring on again.

  • Turn off baseline or rule monitoring in batches: Select turn off and apply the settings. The notification configuration of each object is retained.

  • Turn off baseline or rule monitoring individually: Turn it off and save. Verify the notification address again when you turn it on.

Stopping monitoring, closing a work item, and ignoring a baseline event are different operations. Stopping monitoring is not a way to recover an abnormal instance. Issues that have already occurred still need to be checked and handled.

Billing

Monitoring itself does not consume tokens. AI diagnostics triggered by exceptions, as well as the subsequent interactions and handling with the agent in the Workbench or on the IM side, consume tokens. For more information about the billing rules, see Data Agent fees.

FAQ

  • Q: The configuration was saved successfully. Why is there no work item?

    A: Saving the configuration does not immediately create a work item. Check whether the configuration has taken effect, whether the DataStudio modifications have been deployed, whether the rule or baseline itself is enabled, and whether a supported exception or alert has occurred. Then search for the related work item by instance ID or object ID instead of concluding that no record exists based only on the creation time. During monitoring and handling, subsequent statuses of the same instance continue to be recorded in the corresponding work item. You do not need to look for a new work item for each rerun or waiting status.

  • Q: After I enable node monitoring, are tasks rerun automatically?

    A: Enabling monitoring automatically detects exceptions, analyzes causes, and tracks statuses. It is not the same as enabling automatic rerun. Reruns already configured for the node are performed according to the original scheduling configuration. When the agent needs to start a rerun or another handling action, the user must confirm it.

  • Q: Is AI Diagnostics of a baseline event the same as automatic monitoring?

    A: No. AI Diagnostics is used for proactive analysis of events that have already occurred. To listen for exceptions in advance, you need to configure monitoring for the corresponding node, baseline, or custom rule. A single diagnosis cannot be treated as enabling long-term monitoring.

  • Q: I received an alert. Why did I not receive the diagnostic result?

    A: The original alert notification and the AI diagnostic result notification are two separate processes. First check whether a work item has been generated and whether the agent has completed pre-processing. Then check whether the corresponding webhook is configured and reachable in a test. Do not only reconfigure the recipients of the original alert.

  • Q: What do I do if agent pre-processing fails?

    A: The owner of the current work item goes to the Agent tab, views the error message, resolves issues such as service activation or the runtime environment, and then clicks Re-preprocess. This operation restarts the AI analysis. It does not rerun the business task. If the agent has gone to sleep, click Wake Up Agent and then continue to view and handle the work item.

  • Q: Why can the bot in the group not continue the handling?

    A: Verify in order that the IM bot is enabled, is bound to the Data O&M agent, has joined the group that receives notifications, and has been authorized in Agent Collaboration Settings of the current owner. Configuring only a webhook notification address is not the same as authorizing the bot to handle work items. Also confirm that the current user is the owner of the work item and has the corresponding operation permissions.

  • Q: Does AI monitoring consume tokens?

    A: Monitoring itself does not consume tokens. The AI diagnostics after a work item is triggered and the subsequent AI handling consume tokens.

  • Q: What is the difference between node Intelligent Monitoring and baseline alerting?

    A: Node Intelligent Monitoring focuses on exceptions of node instances and the analysis of their causes, and continuously tracks them through work items. A baseline focuses on whether key tasks and their dependencies can be completed within the expected time, and is used to ensure the timeliness of data output. The two serve different O&M goals. Do not interpret the duration threshold of node monitoring as the guaranteed time of a baseline.