You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the request id middleware is called several times for one request, each time it will generate new request id.
I have this issue because httplog.RequestLogger enables request id middleware by default and no way to remove.
The expected result is, request id should only be generated once for each request even it is called several times, 2 ways I think:
Please have a look at https://github.com/go-chi/traceid. It's an alternative to middleware.RequestID, which handles multiple uses well and also adds service-to-service tracing capabilities.
If the request id middleware is called several times for one request, each time it will generate new request id.
I have this issue because httplog.RequestLogger enables request id middleware by default and no way to remove.
The expected result is, request id should only be generated once for each request even it is called several times, 2 ways I think:
The text was updated successfully, but these errors were encountered: