Index Changes
This is version 13. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

IEP Process to Measure KPIs

The following section describes how to use IEP SE to create a process that measures KPI(Key Performance Index) 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.

JSPWiki v2.4.100
« Home Index Changes Prefs
This particular version was published on 25-Feb-08 17:53 PM, -0800 by Rahul Dwivedi