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

Add traceresponse header with traceId & spanId to all quarkus service HTTP responses

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-09-04 - API
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • True

      As a developer, I'd like to be able to lookup traces for a given request based on the response headers. There is a draft standard for this, where the format is:

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

      where $flags is typically 01 to indicate the trace was sampled. There are other supported bits in the flags value, see https://w3c.github.io/trace-context/#version-format .

      There are implementation hints in the related quarkus issue.

      References:

      Done:

      • A submodule exists in our project to enable this behavior
      • All quarkus-based services configured to use the module
      • A PR opened to contribute this functionality back to upstream quarkus, resolving the quarkus issue referenced above

              rhn-engineering-wpoteat William Poteat
              khowell@redhat.com Kevin Howell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: