Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-2455

MetricLogger MDC changes

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • None
    • sli/core
    • 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.

            nullop nullop
            nullop nullop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: