How to capture total processing time in Pega for a request that comes in Pega application by Service SOAP
Problem Statement :
In our claims Pega application there are multiple surrounding systems which are acessing information stored at pega databse via calling Soap service. We have exposed one Service SOAP from Pega and all other systems are comsuming the same. The current issue that we are facing during open enrollment period multiple slowness issues have been reported from surrounding systems, but no one is able to identify where the actual slowness is occuring.
Therefore client want us to capture the total processing time in Pega starting from the request rceive in Pega till the response goes out from Pega.
Approach : To address this issue we are looking for what is the best possible approach to capture end to end processing time in Pega. Is there a configuration that we can enable to capture this in Log, or what will be the best possible place ( e.g. Service activity) to put some code to capture time.
I can place property-set @(Pega-RULES:DateTime).CurrentDateTime() but my question is where can I put this step to capture end to end processing time, because Service activity will only reflecting transactional time ( e.g. Parsing, DB fetch and populating data in response page), but what client is looking to get the time from the request reach into the Pega and the response is sent out from Pega.
>>> but my question is where can I put this step to capture end to end processing time / but what client is looking to get the time from the request reach into the Pega and the response is sent out from Pega