fjtirado opened a new issue, #1101:
URL: https://github.com/apache/incubator-kie-issues/issues/1101

   Currently monitoring addons tracks the total number of completed instances 
(counter named `kogito_process_instance_completed_total`) and the total number 
of running instances (counter named `kogito_process_instance_running_total`). 
Although they are pretty useful to see how many process are completed and how 
many process are still running, it does not allow, from the total number  of 
completed, to distinguish how many finished successfully and how many were 
aborted. The same is true for the ones running, it does not allow to 
distinguish how many are just executing and how many has suffered an error. 
   
   To resolve this, it would be nice to add, on top on the two mentioned 
counters, a counter for each relevant process status in the process engine:
   
   - `kogito_process_instance_sucessfully_completed`: Numbers of process which 
status is completed. This counts the process that has completed its operation 
normally. 
   - `kogito_process_instance_aborted`: Numbers of process which status is 
aborted.
   - `kogito_process_instance_error`: Numbers of process which status is error.
   - `kogito_process_instance_active`: Numbers of process which status is 
active.
   
   Note that the value of kogito_process_instance_completed_total is equal to 
the sum of `kogito_process_instance_sucessfully_completed` and` 
kogito_process_instance_aborted` and the value  
`kogito_process_instance_running_total` is the sum of 
`kogito_process_instance_error` and `kogito_process_instance_active`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to