3 ms·
> I believe most people usually passing context in function call and combine it with open tracing. What about that is not working for you? I haven't used Node
by imauld 8y ago
> I believe most people usually passing context in function call and combine it with open tracing.
What about that is not working for you? I haven't used Node at all but I imagine it would work about the same as described in the video you linked.
- albertlie 8y agoI believe that's working but it's kind of pain because we need to passing context across function call. So I wonder whether there is better way to do that. I believe node.js has async_hook feature that can capture context without passing function call, but it's still in experimental phase and won't work for tracing
- imauld 8y agoLike I said I've never worked with Node but being explicit seems like a better pattern than having some background async process do it.