IEP Process to Measure KPIs
The following section describes how to use IEP SE to create a process that measures KPI(Key Performance Indicator) for
BPEL SE 
.
Refer
BPEL SE Monitoring 
for event structures and interfaces.
For Activity Monitoring we will capture Activity Start and Activity Finished events as two input streams.
the event structures for ActivityFinished and ActivityStart are same. The BPEL engine event sender takes care of the type of event to stream mapping through different end points.
Next step is to create time based buckets for these events so that relation is based on a finite size of events. In the sample project the time based window is used for this purpose with window size of 5 hours.
Then combine the result from these time based buckets into a relation map as following
with condition
TimeBasedWindow0.activityID=TimeBasedWindow1.activityID and TimeBasedWindow0.processID=TimeBasedWindow1.processID
the elapsed time from start to end is calculated as an expression in Relation map as timeGap.
Next step is to aggregate the relation into required groups and and statistics as following .
The map collects MIN , MAX , AVERAGE of the time gap based on instance id and engine id.
After the aggregation with required groupings and statistics is available we'll save the results into an Output Global table which can be accessed to see the KPIs.
The complete IEP process for Activity Monitoring looks like this
For BPEL
Instance level KPI monitoring BPInstance Start and
BPInstance Complete events are captured by using two Input Stream Operators,
BPInsatnceStartEventStream and BPInstanceComplete, the message structure follows the instance event generated by BPEL engine.
Rest of the IEP process design is same as that of Activity monitoring with time based buckets and a relation map followed by a relation aggregation to aggregate time elapsed into required categories. The results are saved into a global table to be accessed by other applications.
This page (revision-14) was last changed on
25-Feb-08 17:54 PM, -0800
by Rahul Dwivedi.
This page was created on
25-Feb-08 14:22 PM, -0800 by Rahul Dwivedi.
More info...
| Version |
Date |
Author |
Size |
Changes ... |
|
14
|
25-Feb-08 17:54 PM, -0800
|
Rahul Dwivedi |
2951 |
to previous
|
|
13
|
25-Feb-08 17:53 PM, -0800
|
Rahul Dwivedi |
2947 |
to previous
|
to last
|
|
12
|
25-Feb-08 17:37 PM, -0800
|
Rahul Dwivedi |
2960 |
to previous
|
to last
|
|
11
|
25-Feb-08 17:36 PM, -0800
|
Rahul Dwivedi |
2950 |
to previous
|
to last
|
|
10
|
25-Feb-08 17:35 PM, -0800
|
Rahul Dwivedi |
2913 |
to previous
|
to last
|
|
9
|
25-Feb-08 17:24 PM, -0800
|
Rahul Dwivedi |
2836 |
to previous
|
to last
|
|
8
|
25-Feb-08 17:22 PM, -0800
|
Rahul Dwivedi |
2769 |
to previous
|
to last
|
|
7
|
25-Feb-08 17:16 PM, -0800
|
Rahul Dwivedi |
2640 |
to previous
|
to last
|
|
6
|
25-Feb-08 17:06 PM, -0800
|
Rahul Dwivedi |
2450 |
to previous
|
to last
|
|
5
|
25-Feb-08 17:05 PM, -0800
|
Rahul Dwivedi |
2446 |
to previous
|
to last
|
|
4
|
25-Feb-08 17:02 PM, -0800
|
Rahul Dwivedi |
1929 |
to previous
|
to last
|
|
3
|
25-Feb-08 15:39 PM, -0800
|
Rahul Dwivedi |
1731 |
to previous
|
to last
|
|
2
|
25-Feb-08 15:28 PM, -0800
|
Rahul Dwivedi |
1186 |
to previous
|
to last
|
|
1
|
25-Feb-08 14:22 PM, -0800
|
Rahul Dwivedi |
161 |
to last
|