All Products
Search
Document Center

DataWorks:Configuration example for MaxCompute

Last Updated:Feb 27, 2026

Monitoring rules are the core of Data Quality (DQC). Data Quality supports monitoring for MaxCompute, EMR (E-MapReduce), Hologres, AnalyticDB for PostgreSQL, and AnalyticDB for MySQL. This topic describes how to configure monitoring for MaxCompute.

Procedure

Step 1: Add a MaxCompute data source

  1. Go to the Data Sources page.

    1. Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose More > Management Center. On the page that appears, select the desired workspace from the drop-down list and click Go to Management Center.

    2. In the left-side navigation pane of the SettingCenter page, click Data Sources.

  2. Click Add Data Source to add a MaxCompute data source. For more information, see Bind a MaxCompute computing resource.

  3. In the upper-left corner of the page, click the 图标 icon and choose All Products > Data Development and O&M > DataStudio (Data Development).

  4. In the navigation pane on the left of the Data Studio page, click Computing Resources and bind the added MaxCompute computing resource.

    Note

    This example uses test data from the MaxCompute public dataset. For your actual business data, configure quality monitoring and quality monitoring rules.

Step 2: Go to the table quality details page

  1. In the upper-left corner of the page, click the 图标 icon and choose All Products > Data Governance > Data Quality.

  2. In the navigation pane on the left, click Rule Configuration > Configure by Table.

  3. In the Data Source list on the left, select a database. Find the table for which you want to configure Data Quality rules. Click the table name or Configure Monitoring Rule in the Actions column to go to the Table Quality Details page.

    Note

    You can also find the table by entering its name. Fuzzy search using the first letter of the table name is supported.

    image

Step 3: Create a quality monitoring task

  1. On the Rule Management tab of the Table Quality Details page, click the image icon next to Monitor Perspective to go to the Create Quality Monitoring page.

  2. Configure the parameters for the quality monitoring task.

    Note

    Create a quality monitoring task based on the verification requirements of the table. For more information about how to create a quality monitoring task, see Configure rules for a single table.

    image

  3. Click Save.

Step 4: Configure Data Quality rules

  1. On the Rule Management tab of the Table Quality Details page, click Create Rule to go to the rule configuration page.

  2. This example uses a system template to create a Data Quality rule.

    Note

    Create rules as needed for your table. For more information about how to create rules, see Configure rules for a single table.

    image

  3. Add the rule to the quality monitoring task that you created in Step 3.

    image

  4. Click OK.

Step 5: Test the rule execution

  1. On the Monitor tab of the Table Quality Details page, find the quality monitoring task that you created and click Test in the Actions column.

    image

  2. In the Test Run dialog box, confirm the Timestamp Range and Scheduled Time parameters, and then click Test Run.

    image

  3. After the Startup successful message appears, click View Details to view the results of the test run.

    The MaxCompute test table in this example contains more than 2,000 rows. Therefore, the quality check result is abnormal and highlighted in red.

    image

  4. After you confirm that the rule can be triggered, modify the quality monitoring task. Set Trigger Method to Triggered by Node Scheduling in Production Environment to associate the task with a specified recurring schedule task in the DataWorks Operation Center. The quality rules in the monitoring task are then automatically triggered after the associated node finishes running.

Step 6: Subscribe to quality monitoring alerts

  1. On the Monitor tab of the Table Quality Details page, find the quality monitoring task that you created. Then, in the Actions column, click More > Alert Subscription.

  2. Configure the Notification Method and Authorization Object, and then click Save.

    image

Related topics