Hi All, I would like to start a discussion for FLIP-165: Operator's Flame Graphs [1]
A Flame Graph [2] is a visualization that is very effective for providing answers to the questions like: - Which methods are currently consuming CPU resources? - How CPU utilization by one method compares to the others? - Which series of calls on the stack led to executing a particular method? I have already opened a PR [3] that represents the implementation approach proposed in the FLIP. It supports both on-CPU and off-CPU [4] Flame Graphs. Looking forward to your feedback. P.S: I would like to give kudos to David Moravek for his prototyping work [5] on this feature. Although the proposed implementation significantly diverges from his prototype on the Flink side, the work done on connecting the d3-flame-graph library to the right data structure retrieved from Flink was instrumental for enabling this feature. [1] https://cwiki.apache.org/confluence/display/FLINK/FLIP-165%3A+Operator%27s+Flame+Graphs [2] http://www.brendangregg.com/flamegraphs.html [3] https://github.com/apache/flink/pull/15054 [4] http://www.brendangregg.com/FlameGraphs/offcpuflamegraphs.html [5] https://issues.apache.org/jira/browse/FLINK-13550?focusedCommentId=17083026&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17083026 Best, -- Alexander Fedulov | Solutions Architect Follow us @VervericaData -- Join Flink Forward - The Apache Flink Conference Stream Processing | Event Driven | Real Time -- Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany -- Ververica GmbH Registered at Amtsgericht Charlottenburg: HRB 158244 B Managing Directors: Yip Park Tung Jason, Jinwei (Kevin) Zhang, Karl Anton Wehner -- Sent from: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/