Weston Pace created ARROW-15061:
-----------------------------------

             Summary: [C++] Add logging for kernel functions and exec plan nodes
                 Key: ARROW-15061
                 URL: https://issues.apache.org/jira/browse/ARROW-15061
             Project: Apache Arrow
          Issue Type: Sub-task
          Components: C++
            Reporter: Weston Pace


Using OT we should add spans that report the runtime of kernel functions.  We 
should  ensure that, if OT is disabled, there is no significant overhead.

In addition we should add spans that report the runtime of each exec node.  
This may be a little trickier than it would first seem because pipeline 
breakers like join, etc. don't do all of their work inside of InputReceived.  
Those could potentially be added later in follow-up PRs if it is getting to be 
too tricky.  The simple nodes like FilterNode and ProjectNode should be more 
straightforward.  These spans should be the parent of any kernel functions 
launched by that node.

There should also be a span for an entire exec plan run that will be the parent 
of all of this.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to