trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Payne <jp557...@gmail.com>
Subject Re: Transaction ID
Date Thu, 14 Jun 2018 16:00:14 GMT
My original email was based on a search through our internal 6.2.x
source.. which doesn't contain the uuid API calls.
Of course these calls are supported in 7.1.3..

Thanks for your assistance.




On Mon, Jun 11, 2018 at 3:53 PM, Alan Carroll <solidwallofcode@oath.com> wrote:
> Sort of. There is this -
> https://docs.trafficserver.apache.org/en/latest/developer-guide/api/functions/TSUuidCreate.en.html#c.TSProcessUuidGet
> That will get you a process unique ID. You can combine that with the
> transaction ID to get a globally unique transaction ID. Look at
> TSClientRequestUuidGet as well.
>
> On Mon, Jun 11, 2018 at 3:45 PM, Jeremy Payne <jp557198@gmail.com> wrote:
>>
>> Per end user request, does ATS generate a unique ID I can also use as
>> a transaction id?
>> I am thinking of creating an ID(hash) based on URL+some-random-string,
>> but want to make sure something isnt generated internally(and exposed
>> via some API), before starting this work.
>>
>> The ID will then be added to something like a request header as the
>> request passes each cache tier. So now instead of having to
>> search/link child/parent log entries against multiple fields, I can
>> just use this ID(hash).Of course cache log filter will have to include
>> the request header containing the ID.
>>
>> Thanks in advance!
>
>

Mime
View raw message