Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add X-Request-ID header to every originating request to help track the request and response across the network #1510

Open
TheMMaciek opened this issue Mar 3, 2021 · 0 comments

Comments

@TheMMaciek
Copy link
Contributor

We want to add a request id header to every originating request, named e.g. as X-Request-ID. The point of doing this is to be able to track what happens with the given request both at the client and server side, and what is the response for the given request. So the request id needs to be generated on the client side and then propagated back by the server in a response.
We could design our custom solution, but possibly this middleware could be also used (look at the end of the page):
https://http4s.org/v1.0/middleware/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant