- 
                Notifications
    
You must be signed in to change notification settings  - Fork 238
 
Closed
Labels
agent-nodejsMake available for APM Agents project planning.Make available for APM Agents project planning.discuss
Description
Today, if you have a span A that does some work, finishes and then runs it's callback to signal completion, then create a span B somewhere in the chain following the callback, the parent of B will be A. See it here: https://github.com/elastic/opbeans-node/blob/master/server/routes.js#L276-L286
We currently only support "ChildOf" and this relationship is not appropriate for this situation. If span A has finished, it should not create more "ChildOf" spans. I realize this means that for Node.js it will be increasingly rare to have any ChildOf spans that are not a ChildOf the transaction. This is OK and it's in line with what the other agents do.
Metadata
Metadata
Assignees
Labels
agent-nodejsMake available for APM Agents project planning.Make available for APM Agents project planning.discuss
