Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-2815

IQE - Log trace identifiers from server responses

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • True

      As Dev/QE, any time a HTTP response is logged (and especially when there is a failure), I'd like to be be able to use the trace id to lookup logs and traces for the request.

      The spring-boot based services using the splunk java-agent emit a header with the format:

      Server-Timing: traceparent;desc="00-$traceId-$spanId-$flags"
      

      And in the quarkus-based services we plan (SWATCH-2809) to emit a header with the format:

      traceresponse: 00-$traceId-$spanId-$flags
      

      When either response header is present, the IQE tests should include the traceId and spanId in any related logs.

      References:

              rhn-support-nkathole Nikhil Kathole
              khowell@redhat.com Kevin Howell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: