-
Story
-
Resolution: Done
-
Medium
-
None
-
None
Generate RequestID if not previously set. Usually this is covered by audit log servlet filter and the value should persist.
Generate a unique InvocationID for each request.
ElapsedTime in MetricLogger will be set to 0 during logRequest. This is because the request is just being sent duringĀ the IN_PROGRESS record creation.
resetContext in MetricLogger will reset elapsed time so further records don't use a stale elapsed time.
ENTRY_TIMESTAMP needs to be set in the audit servlet filter not in metric related classes. Removing that call from logRequest.
Elapsed time within MetricLogger should be the time between INVOKE_TIMESTAMP and the time at which the request has finished processing.
INVOKE_TIMESTAMP should be called a single time before the request is sent and not a second time during logResponse.