Step 7: DataArts Quality
DataArts Quality allows you to manage the quality of data in the databases. You can filter out unqualified data in a single column or across columns, rows, and tables from the following perspectives: integrity, validity, timeliness, consistency, accuracy, and uniqueness.
In the Data Quality module, the quality of metrics and data can be monitored.
Viewing Quality Jobs
After a job is executed during data development, you can view the running result of the job on the DataArts Quality page.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- On the Develop Job page under DataArts Factory, open the job created in Step 6: Develop Data, and click the data quality monitor node in the job. In Node Properties, click next to Quality Rule Name to display the Quality Jobs page under DataArts Quality.
Figure 1 Quality job node
- Click the name of a quality job to view its basic configuration.
Figure 2 Quality job list
- In the left navigation pane, choose O&M. In the right pane, click Details in the Operation column to view the running result of the quality job.
Figure 3 Running result of the quality job
Monitoring Business Metrics
The Metric Monitoring module manages business metrics.
To monitor a business metric, customize a SQL metric, define a rule based on the logical expression of the metric, and create and run a business scenario. Based on the running result of the business scenario, you can determine whether the business metric meets the quality rule. In this example, the system monitors the revenue of a taxi on a day and generates an alarm if the revenue is less than 500. The procedure is as follows:
- On the DataArts Studio console, locate a workspace and click DataArts Quality.
- Choose from the left navigation bar.
- Click Create. In the displayed dialog box, set required parameters to create a metric.
The SQL statement is as follows:
SELECT SUM(fare_amount) FROM sdi_taxi_trip_data;
Figure 4 Creating a metric
- Choose from the left navigation bar.
- Click Create. In the displayed dialog box, set required parameters to create a rule.
Figure 5 Creating a rule
- Choose from the left navigation bar.
- Click Create. In the displayed dialog box, set required parameters to create a scenario.
Figure 6 Setting basic information
Figure 7 Defining a rule group
Click Next and select Once or On schedule for Repeat.
- In the scenario list, locate the created scenario and click Run in the Operation column.
- Click the execution result to view the monitored metric.
Figure 8 Execution result
The running result of the business scenario may be any of the following:
- Normal: The instance stops normally and the running result meets the expectation.
- Alarming: The instance stops normally, but the running result does not meet the expectation.
- Abnormal: The instance stops unexpectedly.
- --: The instance is running, but no running result is displayed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot