knotx icon indicating copy to clipboard operation
knotx copied to clipboard

Log a request unique identifier based on HTTP header

Open tomaszmichalak opened this issue 8 years ago • 2 comments

We want to log a request unique identifier coming from a HTTP request. This id is added by Apache Front just before calling a Knot.x instance. So we want to read this data from the request and put this data into log file (retrieving this value from HTTP header). Usually this is achieved by MDC in Slf4j but in vert.x application it is not good approach. More details here:

https://groups.google.com/forum/#!topic/vertx/SKrG5EWw090

Please find a solution for this problem.

tomaszmichalak avatar Aug 21 '17 10:08 tomaszmichalak

This is nice document to start: https://github.com/openshiftio-vertx-boosters/vertx-istio-distributed-tracing-booster.

tomaszmichalak avatar Feb 27 '19 21:02 tomaszmichalak

Waiting for Vert.x 4

malaskowski avatar Jun 13 '19 18:06 malaskowski