Q: Web request tracing in node.js I have a web application with node + express. I want to record web request execution from start to end which include some db calls as well. How could I map the context of http request to db call context. I have tried async_hook APIs as well. Found that in case of db calls it uses the old connection instead of creating new connection. In this condition how can I map http request to db call? Thanks in advance.

A: Try eizer Zipkin or this https://blog.risingstack.com/distributed-tracing-opentracing-node-js/
P.s. Db requests tracing - is painful task =) 
