Creating a Metric
You can manage all business metrics, including the metric sources and definitions. Business metrics are stored in directories.
Metrics in DataArts Quality are independent of business metrics and technical metrics in DataArts Architecture.
Prerequisites
You have created a home directory. To create a home directory, log in to the DataArts Studio console, click Access under a specific instance, choose on the Workspaces tab page, choose from the left navigation bar on the page displayed, and create a directory. Before creating a metric for a data connection, select a directory to store the metric. For details, see Figure 1.
No. |
Description |
---|---|
1 |
Create Directory |
2 |
Refresh Directory |
3 |
Right-click All to create, rename, or delete a directory. |
Creating a Metric
- Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Quality.
- Choose from the left navigation bar.
- Click Create. In the dialog box displayed, set the parameters based on Table 2.
Table 2 Metric parameters Parameter
Description
Metric Name
The name of a metric, which contains 1 to 64 characters and consists of only letters, numbers, and underscores (_).
Data Connection
Select a created data connection from the drop-down list box.
NOTE:- Currently, only DWS, MRS Hive, DLI, MRS ClickHouse, and Doris are supported.
- Metrics are closely connected based on data connections. Therefore, you must establish data connections in the metadata management module before creating metrics.
Database/Queue
Select the database where the metric runs.
NOTE:If DLI is selected as the data connection, a running queue is required.
Description
Information to better identify a metric. It cannot exceed 4096 characters.
Directory
Directory for storing metrics. You can select a created directory. Figure 1 shows the directory.
Metric Type
Custom is supported.
You can customize an SQL statement to define the metric source.
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