houqp commented on issue #866:
URL: 
https://github.com/apache/arrow-datafusion/issues/866#issuecomment-898202701


   > How to handle operators that don't provide metrics such as potentially 
user defined ones (probably will fill in with their parents)
   
   I think there is also the case where user defined operators are the parents 
and we need to generate metrics recursively for their children too for end to 
end tracing.
   
   The list of metrics look like stuff that can be automatically generated 
across all operators if we can force all operator implementations to follow a 
certain convention. For example, instead of calling `execute` method directly, 
have all operator call a wrapper execute method that handles the builtin 
metrics collection. That way, it just becomes something all operators will out 
of the box in a consistent way.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to