Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-5030

Proposal: Add API to get the client request UUID directly from a TSHttpTx

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.1.0
    • TS API
    • None

    Description

      The new UUID api introduced in https://github.com/apache/trafficserver/pull/736 is great for tracing operations and requests. However, the most useful information for plugin developers, the unique client request id, is not exposed as an api endpoint. People need to understand very well how TrafficServer works internally to generate this value. By not having the API directly exposed, people need to repeat the same code every time they want to generate this unique identifier.

      I'd like to add an API enpoint to generate this identifier based in a given http transaction for plugins to use.

      This would be the signature:

      tsapi const char * TSClientRequestUuidGet(TSHttpTxn txnp);

      Attachments

        Activity

          People

            zwoop Leif Hedstrom
            calavera David Calavera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h