Append uniqueid to a http request at varnish
Uday Kumar
uday.polu at indiamart.com
Thu Apr 25 00:48:08 UTC 2024
Hi Guillaume,
Thanks for this reminder, I will check this and get back to you!
*Thanks & Regards,*
*Uday Kumar*
On Thu, Apr 25, 2024 at 1:12 AM Guillaume Quintard <
guillaume.quintard at gmail.com> wrote:
> Hi Uday,
>
> I feel like we've explored this last year:
> https://varnish-cache.org/lists/pipermail/varnish-misc/2023-May/027238.html
>
> I don't think the answer has changed much: vmod-uuid is your best bet here.
>
> Please let me know if I'm missing some requirements.
>
> Kind regards,
>
> --
> Guillaume Quintard
>
>
> On Wed, Apr 24, 2024 at 4:26 AM Uday Kumar <uday.polu at indiamart.com>
> wrote:
>
>> Hello all,
>>
>> We follow below architecture in our production environment:
>> User request ---> Varnish ----> Tomcat Backend
>>
>> We have a requirement of generating an unique id at varnish that can be
>> appended to a request url.
>> So that it can be propagated to the backend and also will be useful in
>> tracking errors efficiently
>>
>> varnish version used: varnish-5.2.1
>>
>> Example:
>> original request:
>> /search/test?q=bags&source=mobile
>>
>> After appending unique id [This needs to be sent to backend and to be
>> stored in varnish logs]:
>> /search/test?q=bags&source=mobile&uniqueid=abc123
>>
>> Please help us know if there is any way to do this at varnish
>>
>> *Thanks & Regards,*
>> *Uday Kumar*
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20240425/1ad3aa35/attachment.html>
More information about the varnish-misc
mailing list