Intelligent O&M assistant
The Intelligent O&M assistant is suited to daily review of the periodic instances, manual instances, offline synchronization instances, intelligent baselines, and monitoring alerts in Operation Center. When a task fails or is delayed, you can locate the instance from the scenario workbench and let the AI assistant combine run logs and upstream and downstream dependencies to provide the failure reason, impact scope, and handling suggestions. This topic describes the capabilities, creation method, scenario workbench usage, preset scheduled tasks, and usage notes of the Intelligent O&M assistant.
Overview
The Intelligent O&M assistant is suited to daily review of the scheduled tasks and alerts in Operation Center. When a task fails or is delayed, you can locate the instance from the scenario workbench and let the AI assistant combine run logs and upstream and downstream dependencies to provide the failure reason, impact scope, and handling suggestions, without switching between multiple pages in Operation Center.
The Intelligent O&M assistant only performs queries and analysis and does not execute changes on your behalf. Operations such as rerunning tasks, modifying monitoring rules, and adjusting resource group configurations must be completed on the corresponding pages, such as Operation Center and Data Integration.
Create an Intelligent O&M assistant
Before you create the assistant, confirm the following items:
-
The execution identity (access to DataWorks) is determined, and the identity has query permissions on the Operation Center data of the target workspace. If multiple users share one instance, you can create a RAM role as guided on the page and add the role to the corresponding workspaces.
-
If inspection results need to be pushed to an IM group, an available HTTPS webhook URL is prepared. You can also configure it after the instance is created.
-
Log on to the DataWorks console, select the target region, and click AI Assistant Service in the left-side navigation pane to go to the AI Assistant Service page.
-
In the Recommended scenarios area, click the Intelligent O&M assistant scenario card. In the Scenario description dialog, review the scenario description, preset Skills, preset expert suites, and preset scheduled tasks, and then click Use this scenario.
-
In the Create from scenario window, enter the instance name and description, and select a resource group as required by the page.
-
Select the execution identity (access to DataWorks). For personal use, you can select the current logon user. For shared use, you can create a RAM role and select the workspaces and corresponding permissions for the role. The data that the AI assistant can query is subject to the actual permissions of the execution identity.
-
Review the preset Skills, preset expert suites, and preset scheduled tasks listed on the creation page. Scheduled tasks are enabled by default and run on schedule after the instance is created. The task card provides Advanced Settings, where you can enter an HTTPS webhook URL. After you confirm, click Create now.
After creation, the instance may take several minutes to initialize. After initialization is complete, click the instance in the instance list to enter the Scenario workbench.
Preset scheduled tasks
The intelligent O&M scenario includes the following preset scheduled tasks, which are enabled by default after the instance is created. Daily times are displayed in Beijing time of the current template.
|
Task |
Execution time |
Main content |
|
Daily failed task inspection |
Daily at 08:00 (Beijing time) |
Summarizes the tasks that failed on the previous day and analyzes the causes and impact. |
|
SLA baseline completion report |
Daily at 09:00 (Beijing time) |
Checks SLA achievement and the key baselines that are not completed. |
|
Hourly scheduling status inspection |
Every hour |
Performs a read-only check of the failed instances and instances waiting for resources on the current and previous business dates. |
Use the scenario workbench
The default workbench of the Intelligent O&M assistant includes the following pages:
|
Page |
Displayed content |
Main purpose |
|
Run Overview |
The total number of periodic instances; the numbers of failed or frozen, running, waiting-for-resource, and successful instances; the status distribution; and the daily instance volume over the last 7 days with a two-day status summary. |
Used to first understand the number of anomalies and then drill down to the instance list of the corresponding status. |
|
Scheduled Instance |
The instance list, the periodic task directory, and the workflow directory. |
Used to filter instances by business date, task name or ID, status, or owner, and to view the run logs and upstream and downstream information in the instance details. |
|
Manually Triggered Node Instance |
The manually run instances and the manual task directory. |
Used to locate a specific manual execution by run time, status, or name. |
|
Data Integration |
The offline synchronization instances and real-time synchronization tasks. |
Used to view the run logs and upstream and downstream information of synchronization instances, or to find real-time synchronization tasks by synchronization task name, synchronization method, source type, and destination type. |
|
Intelligent Baselines |
The baseline definitions, guaranteed tasks, and baseline running status. |
Used to view baseline configurations and running results, and to initiate delay analysis for key tasks. |
|
Monitoring alerts |
The tenant monitoring alerts and alert rules. |
Used to filter alerts by alert time, source, rule, or object, and to view alert details and monitored objects. |
Common operations
-
After you enter the Scenario workbench of the instance, first select a workspace that you have permissions on. For pages related to periodic instances, also select the development or production environment and the business date.
-
Entries such as Diagnose failure, Analyze resource wait, Analyze alert, and AI analysis only fill the current object and query scope into a conversation draft. They do not send automatically or modify business configurations. Review the draft before you send it.
-
For periodic instances, manual instances, and offline synchronization instances, you can open the instance details to view the instance ID, task name, status, scheduled time, resource group, run logs, and upstream and downstream information. Use Direct upstream and Direct downstream to confirm the blocking reason and impact scope.
Diagnose a failed or delayed periodic instance
-
On the Run Overview page, confirm whether the number of Failed/Frozen instances is higher than the daily level.
-
On the Scheduled Instance page, filter the target instances by status. If you know only the task name, search in the Periodic task directory first and then open the corresponding instance.
-
Click the target instance and view the recent run logs, Direct upstream, and Direct downstream.
-
In the row of the instance, click Diagnose failure. The workbench fills the instance object and query scope into a conversation draft. Add details as needed (for example, "Determine the failure reason, impact scope, and verification steps") and then send it.
Result: The AI assistant returns the failure reason, the affected downstream tasks, and handling suggestions. Based on the conclusion, you can rerun the instance or modify the task configuration in Operation Center.
Analyze instances waiting for resources
-
On the Run Overview page, confirm the number of Waiting for resources instances.
-
On the Scheduled Instance page, filter the instances that are waiting for resources by status.
-
Click the target instance and view the recent run logs and the resource group used by the instance.
-
In the row of the instance, click Analyze resource wait, confirm the draft content, and then send it.
Result: The AI assistant returns the reason why the instance is waiting for resources and the usage of the related resource group. Adjusting the resource group configuration is a change operation and must be completed on the resource group management page.
Investigate the impact of intelligent baselines and alerts
-
On the Intelligent Baselines page, view the baseline definitions, guaranteed tasks, and baseline running status, and locate the baselines that are not achieved or are at risk of delay.
-
On the Monitoring alerts page, filter the target alerts by alert time, source, rule, or object, and open the alert details to confirm the monitored object.
-
In the row of the target baseline or alert object, click Analyze alert or AI analysis, confirm the draft content, and then send it.
Result: The AI assistant returns the reason for the baseline delay or alert, the related tasks, and the impact scope. Based on this, you can determine whether to adjust the guaranteed tasks of the baseline or the alert rules.
View the running status of Data Integration synchronization tasks
-
On the Data Integration page, narrow the query scope using the filters provided on the page.
-
View the running status of the offline synchronization instances. Click the target instance to view the run logs and upstream and downstream information.
-
To view real-time synchronization tasks, filter by synchronization task name, synchronization method, source type, and destination type.
-
In the row of an abnormal synchronization instance, click AI analysis, confirm the draft content, and then send it.
Result: The AI assistant returns the reason for the synchronization task failure or delay and handling suggestions. To modify the synchronization task configuration, complete the operation on the Data Integration page.
Ask questions directly in a conversation
-
Open the conversation page of the Intelligent O&M instance.
-
Describe the workspace, task, time range, and required output in natural language. For example: Which tasks failed in project A yesterday? List the instance IDs, log evidence, and affected downstream tasks.
-
Send the question and view the answer.
Result: The AI assistant returns a conclusion based on the data accessible to the current execution identity. The more specific the query scope, the easier it is to locate the corresponding data. When data cannot be queried or information is insufficient, the assistant explains why it cannot provide a conclusion.
To automatically initiate diagnosis when a monitoring alert or event is triggered, see Configure event-triggered diagnostic tasks.
Usage notes
-
Distinguish failures from freezes: When the status on the Run Overview page is "Failed/Frozen", confirm in the instance details whether the task actually failed or the status is caused by the task being frozen.
-
Reconfirm the object after switching query conditions: After you switch the workspace, environment, or business date, reconfirm the instance that the current details correspond to, to avoid drawing conclusions from records of another date.
-
Confirm the push target of inspection tasks: The Hourly scheduling status inspection task generates execution results even when scheduling is normal. Before you configure a push target for this task, confirm whether the recipient group needs the results of every run.