|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |
The View Service Instance Dialog displays cumulative statistics for process engines. You can also store statistics for each executed process instance and each executed activity. Statistics are stored in a comma-separated value (CSV) format that can be imported into most analytical tools, such as Microsoft Excel.
Process instance statistic collection is controlled by the custom engine property bw.engine.jobstats.enable. The default value of this property is false indicating that statistics for each process instance should not be stored. Setting this property to true enables the gathering of statistics for each process instance.See Chapter 8, Custom Engine Properties for more information about custom engine properties.You can enable or disable activity statistic collection using either TIBCO Administrator or TIBCO Hawk commands. This section describes the TIBCO Administrator approach. See Chapter 9, Performance Tuning for more information about TIBCO Hawk commands.
1. Under Application Management, select All Service Instances or go directly to a specific application and select All Service Instances.
3. Click the Engine Control tab.
You can enable or disable statistic collection for the activity elapsed time in the Output schema of JDBC activities by setting the property java.property.bw.activity.output.stats.elapsedTime.activty_name in designer.tra for design-time and bwengine.tra for runtime. Setting this property causes a performance overhead and hence it is recommended that you use this property in a non-production environment as a diagnostic tool. You can turn off the property and not calculate the elapsed time at run-time by setting the property java.property.bw.activity.output.stats.elapsedTime.turnoff in the bwengine.tra file. See TIBCO ActiveMatrix BusinessWorks Palette Reference for details.Separate files are kept for process instance statistics and for activity statistics. The name of the activity statistics file(s) are in the format stats-<timestamp>-<filenumber>.csv. The name of the process instance statistics file(s) are in the format jobStats-<timestamp>-<filenumber>.csv. These files are stored in a location determined by the bw.engine.stats.dir custom engine property. The default location of this property is <engineWorkingDir>/stats.For activity statistics, a new file is created each time statistics collection is enabled. For process instance statistics, a new file is created each time the process engine is started or when the statistics file reaches the specified size. You specify the maximum size for job statistics files with the custom engine properly bw.engine.jobstats.rollover. The property specifies the maximum size in megabytesSee Chapter 8, Custom Engine Properties for more information about custom engine properties.One record per process instance is created and stored in the process instance statistics file. Table 3 describes the statistics stored for each process instance.
One record per completed activity execution is created and stored in the activity statistics file. Table 4 describes the statistics stored for each activity.
Table 4 Stored activity statistics
|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |