Thanks for your feedback. I’ve checked
request-id library and it’s pretty simple. In order to have all features of
cls-tracer's middlewares, I could add support for echoing back request ids in a response header (
On the other hand, that library doesn’t support anything similar to CLS, thus it doesn’t allow fetching request id from modules that don’t have
req object available.