This topic describes how to configure a monitoring rule in Data Quality, how a monitoring rule can take effect, and the operations that you can perform on the Rules page.
Procedure of configuring a monitoring rule in Data Quality
You can configure a monitoring rule for a single table or configure a monitoring rule for multiple tables at the same time based on a template. Check the following content for configuring a monitoring rule for multiple tables at the same time based on a template.
Configure a monitoring rule for a single table
For more information, see Configure a monitoring rule for a single table.
Configure a monitoring rule for multiple tables at the same time based on a template
You can perform the following steps to configure a monitoring rule based on a template:
Select a rule template and configure the rule parameters.
Built-in rule templates are classified into table-level and field-level rule templates. After you select a template, you can configure a rule based on the template to check the data quality of a table. You can use the monitoring rule to determine whether the table data is as expected.
Add multiple tables or fields whose data quality needs to be checked by the rule at the same time.
You can select tables or fields whose data quality needs to be checked and apply the rule to the tables or fields.
Associate the rule with a new monitor or an existing monitor.
You can associate the rule with a new monitor or an existing monitor to specify the range of data whose quality you want to monitor based on the rule. If you want to monitor the data quality of a partitioned table, the data range is a partition.
For more information, see Configure a monitoring rule for multiple tables based on a template.
Go to the Rules page
Go to the Data Quality page.
Log on to the DataWorks console. In the top navigation bar, select the desired region. In the left-side navigation pane, choose . On the page that appears, select the desired workspace from the drop-down list and click Go to Data Quality.
In the left-side navigation pane, choose . The Rules page appears.
View the list of monitoring rules
Area | Feature | Description |
1 | Database selection | You can select the database where the table for which you configure rules resides. |
2 | Filter conditions | You can use filter conditions to search for monitoring rules that you want to query. The filter conditions include Table Name, Template, Degree of importance, Enabled Status, Association Range, and Associated Scheduling. |
3 | List of monitoring rules | You can view the details of a monitoring rule. The details include ID/rule name, Table Name, Association Range, Template, Monitoring Threshold, Data range of quality inspection task, Degree of importance, Enabled Status, and Associated Scheduling. You can also click the options in the Actions column of a monitoring rule to perform different operations on the rule. For example, you can manage the subscriptions of the rule, modify the rule, delete the rule, and view the logs of the rule.
|
4 | Batch operations | You can select multiple monitoring rules and then click options such as Manage Linked Nodes, Subscriptions, Enable, Deactivate, or Delete below the rule list to perform the related operation on the selected rules at the same time. |