trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Carroll <solidwallofc...@oath.com>
Subject Re: Transaction ID
Date Mon, 11 Jun 2018 20:53:07 GMT
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