IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Defining monitor details models > Generate a global monitoring context > Generate a global monitoring context when no common source metric exists
Use the Global Monitoring Context wizard
To generate the global monitoring context, use the Global Monitoring Context wizard.
Review the information in "Example of a global monitoring context" to gain an understanding of how the monitoring contexts are linked together to form a global monitoring context.
Before you can generate a global monitoring context for a monitor model, the monitor model must contain at least two basic root-level monitoring contexts. The New > Global Monitoring Context menu item is disabled until at least two root-level monitoring contexts exist for the monitor model.
You use the Global Monitoring Context wizard to create global monitoring contexts.
Start the Global Monitoring Context wizard from the Monitor Details Model page of the Monitor model editor.
Procedure
- Right-click the name of the monitor model in the tree view and select New > Global Monitoring Context.
Only one global monitoring context can exist for each monitor model. If a global monitoring context exists for a monitor model, the New > Global Monitoring Context menu item is not displayed.
- Complete the wizard pages. A brief overview of the wizard pages is provided in the steps that follow.
- On the Create a Global Monitoring Context page, specify information about the global monitoring context. Verify that All source monitoring contexts contain a common key is not checked.
After you deploy the monitor model with which the global monitoring context is associated, you can view information about the instances of the global monitoring context on the generated dashboard. The information that you view depends on the selection you make for Do not display source monitoring contexts in dashboard.
- If you want to view instances of the global monitoring context only, select Do not display source monitoring contexts in dashboard. When you select this option, you do not see instances of the individual monitoring contexts that make up the global monitoring context.
- If you want to view instances of the individual monitoring contexts that make up the global monitoring context, make sure that Do not display source monitoring contexts in dashboard is not selected. If you do not select this option, instances of the global monitoring context as well as the individual monitoring contexts that make up the global monitoring context are displayed on the dashboard.
- On the Map Monitoring Contexts to Milestones page, add a milestone, and then select, from the list of existing monitoring contexts, the ones you want to include in the milestone.
Important: Verify that the monitoring contexts for each milestone are listed in the order in which the instances of the monitoring contexts will be processed.
For example, if an instance of an Order monitoring context must precede an instance of a Shipping monitoring context, make sure Order is listed before Shipping in the Included monitoring contexts list.
Repeat the steps for adding a milestone and including monitoring contexts in that milestone until you have defined all the milestones for this global monitoring context. Then indicate which milestone completes the global monitoring context.
At this point, you have defined the milestones for your global monitoring context, and you have included source monitoring contexts within those milestones. Next, you link the source monitoring contexts within the milestones.
- On the Map Metrics in Monitoring Contexts for Correlation page, indicate how one monitoring context (the source) is associated with the next monitoring context (the target) by supplying metrics for the monitoring contexts.
- The first time you use a source or target monitoring context in a mapping, the key metric associated with that monitoring context is, by default, displayed in the Metric field.
You can select another metric.
- If the monitoring context is used in a subsequent mapping (for example, if the target monitoring context from one mapping is used as the source monitoring context for a new mapping), the metric that was chosen in the previous mapping is, by default, displayed in the Metric field.
Select for Metric mapping key the metric that links the source and target monitoring contexts.
For example, if your source metric is a loan ID, select from the list of available target metrics the one that also identifies the loan.
After you have linked the monitoring contexts within a milestone, indicate the relationship of the milestones.
For example, if you select One to One, you are indicating that one instance of the first milestone (for example, an Order Initiated milestone) flows directly to an instance of the second milestone (for example, an Order Submitted milestone). Milestones can also have mapping types of One to Many or Many to One.
Tip: Before you select Next, click Preview Diagram to see a visual indicator of how the milestones flow from one to another. At this point, you can make changes to your selections before you commit them by selecting Next.
- On the Add Metrics page, select at least one metric from the existing monitoring contexts to include in the new global monitoring context.
- Click Finish to generate the new global monitoring context.
Results
The new global monitoring context is displayed under the monitor model in the tree view.
Generate a global monitoring context when no common source metric exists
Related concepts:
Example of a global monitoring context