-
Notifications
You must be signed in to change notification settings - Fork 17
qmc
After creating the Metrics Library application, open the QMC to complete the Governed Metrics Service configuration
- Configure the Metrics Library Reload Task
- Create a gms tag
- Add and Configure the ManagedMasterItems Custom Property
- Add and Configure the MasterLibrarySource Custom Property
The reload task refreshes the Metrics Library application with the latest version of metrics stored in data sources.
-
Navigate to the Metrics Library app in QMC and click "More actions"
-
Select the "Create new reload task option"
-
Name the task with the value entered during the installation of the Governed Metrics Service i.e. "Reload Governed Metrics Application":
-
Save the task and return to the QMC main page.
To assist the creation, modification, and deletion of dimensions and measures using the Governed Metrics Service, the process applies a tag to created items. This tag needs to be created in the QMC before it can be used by the process.
To create the gms tag:
- Navigate to the Tags menu item in the QMC.
- Click the "Create New" button.
- Enter gms into the Name field.
- Click Apply.
Apps receive metrics based on the ManagedMasterItems custom property value applied to them.
Looking back on the sample source data table observe the MetricsSubject column.
ID | UID | MetricSubject | MetricType | MetricName | MetricDescription | MetricFormula | MetricOwner | MetricTags | MetricGrouping |
---|---|---|---|---|---|---|---|---|---|
1 | EDSMNFH8F | Customer Service | Measure | % Resolved in SLA | Percentage of Tickets handled within SLA | Sum({< [Call Ctr Days to Resolve] = {'0', '1', '2', '3', '4', '5', '6'} > } [Call Ctr Call #])/sum([Call Ctr Call #]) | Linda Lee | Key KPI;Call | N |
2 | P29OSdkE | Sales | Dimension | Country | Customer Country | Customer Country | Chad Johnson | Customer | N |
This column corresponds directly to the values entered into the ManagedMasterItems custom property. For the different metrics supplied from the data source, a MetricsSubject identifies the apps that will receive the dimension or measure in the master library.
To create the ManagedMasterItems custom property:
- Navigate to the Custom Properties menu item in the QMC.
- Click "Create new" and provide a name for the custom property that matches the value entered in the configuration page of the Governed Metrics Service install. In this example we use "ManagedMasterItems"
- Select the "Apps" resource checkbox.
- Add values to the custom property that match values in the MetricsSubject field and click apply.
Now that the custom property for populating metrics to applications exists, the values need to be set on applications for when the Governed Metrics Service performs an update.
Do not apply ManagedMasterItems custom property values to the Metrics Library application.
To add a custom property value to an app:
-
Go back to the Apps section of the QMC and double click on an App reference in the list.
-
When the app screen appears, activate the Custom properties section by clicking on the term located on the right side of the screen.
-
Click on the dialog box next to ManagedMasterItems (or the custom property created for GMS) and type or select the custom property values to apply to the app.
This is a completely optional section of the guide. It is only necessary to setup the MasterLibrarySource custom property if Qlik Sense apps with master library dimensions and measures will be used to populate other apps through the GMS.
During the Metrics Library app configuration, the MDI capability was described and included how to connect to apps to acquire master library items. The MasterLibrarySource custom property needs to be applied to the apps that will supply the Metrics Library with metrics through MDI.
To create the MasterLibrarySource custom property:
- Navigate to the Custom Properties menu item in the QMC.
- Click "Create new" and provide a name for the custom property that matches the value entered in the configuration page of the Governed Metrics Service install. In this example we use "MasterLibrarySource"
- Select the "Apps" resource checkbox.
- Add values to the custom property that will represent the MetricSubject field in the Metrics Library app and click apply.
Now that the custom property for populating metrics to applications exists, the values need to be set on applications for when the Governed Metrics Service performs an update.
Do not apply ManagedMasterItems custom property values to the Metrics Library application.
To add a custom property value to an app:
-
Go back to the Apps section of the QMC and double click on an App reference in the list.
-
When the app screen appears, activate the Custom properties section by clicking on the term located on the right side of the screen.
3. Click on the dialog box next to MasterLibrarySource and type or select the custom property value to apply to the app. 