How to generate Process Instance Statistics .csv files for Application Monitoring?

How to generate Process Instance Statistics .csv files for Application Monitoring?

book

Article ID: KB0079625

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -

Description

The ActiveMatrix BusinessWorks engine collects three types of statistics for an application, application job metrics, process statistics and execution statistics.

Enabling statistics adds a certain performance overhead.

Issue/Introduction

How to generate process and activity csv stats files

Environment

All Operating systems

Resolution

Here is what you need to do to enable stats collection in .csv file in BW 650 using Admin CLI:

1. Update and push bwagent json file with statsprovider = false

2. Update 'bw.agent.technology.logbackappender=true' in bwagent.ini file and start bwagent

3. Create domain, appspace, appnode, upload and deploy the application ear

4. Now, start application.

5. Enable process, processinstance and activityintance stats from cli: refer to https://docs.tibco.com/pub/activematrix_businessworks/6.5.0/doc/html/GUID-73001F38-88B7-499C-BA2A-CBF695103784.html for more details on commands needed to be executed.

6. Restart application.

Stats were being written successfully in default csv file.


[NOTE: Please remember that stats will be written either in DB or csv file but not both i.e. if stats should be written in csv, we need to put 'statsprovider = false' in json file and push to bwaget.ini file.]

Additional Information

https://docs.tibco.com/pub/activematrix_businessworks/6.5.0/doc/html/GUID-73001F38-88B7-499C-BA2A-CBF695103784.html

https://docs.tibco.com/pub/activematrix_businessworks/6.5.0/doc/html/GUID-8A807049-79E0-4935-85DD-1D54FF706A25.html