Reconstruct full stacks for async execution context #286
Labels
api: cloudprofiler
Issues related to the googleapis/cloud-profiler-nodejs API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Since a typical Node.js program is full of async execution, the profiler stacks may look confusing as the current stack does not contain the stack of the call that actually scheduled the currently executing call chain. This is a known problem of the Node.js environment, there are solutions like https://www.npmjs.com/package/stackup, see also slides https://www.slideshare.net/isharabash/cls-and-asynclistener. The profiler should do this stack reconstruction automatically.
@ofrobots Feedback / thoughts?
The text was updated successfully, but these errors were encountered: