You can use performance counters to monitor Cora SeQuence applications and services. With Cora SeQuence V9.0, you can use performance counters to help you investigate issues related to the execution of workflow instances, and BRS (Background Runtime Service) or JES (Job Execution Service) performance.
How can the performance counters help you?
- Redirect-Queue Length
Use this counter to check BRS workload overtime. The counter updates each time BRS accesses the database to retrieve workflows that are waiting for redirection. Normally, the counter shows a relatively small number of workflows. If the counter constantly shows a great number of workflows, either you need to add more BRSs to the system, or check why there is such a long queue of workflows waiting for redirection.
- Email Listener Queue Length
Similar to Redirect-Queue Length, this counter can indicate that JES is overloaded or there is an issue blocking workflow processing.
- Workflow Instance AVG Execution Time (milliseconds)
Normally, this counter should show relatively low values. In case the value is high, you need to investigate if there are any bottlenecks interfering with workflow processing.
- Executing Workflows
This counter helps you understand the number of concurrent Flowtime users and if JES or BRS are overloaded.
Performance counters details
|Redirect Queue Length||Cora SeQuence BRS||Number of workflow instances that BRS needs to execute. The counter changes when the BRS redirect interval elapses.||NumberOfItems32|
|Email Listener Queue Length||Cora SeQuence JES||Number of emails retrieved by JES that need to be processed. The counter changes when the JES email listener interval elapses.|
Note: One counter represents all email listeners processed by the same JES.
|Workflow Instance AVG Execution Time (milliseconds)||Cora SeQuence||The average time that it takes to execute a workflow instance.|
|Executing Workflows||Cora SeQuence||Number of workflow instances currently being executed.||NumberOfItems32|
The performance counters are automatically installed with the application deployment scripts.
You can also manually install them using this PowerShell function: Register-CoraSeQuencePerformanceCounters.