[jira] [Created] (FLINK-13550) Support for CPU FlameGraphs in new web UI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13550) Support for CPU FlameGraphs in new web UI

Shang Yuanchun (Jira)
David Moravek created FLINK-13550:
-------------------------------------

             Summary: Support for CPU FlameGraphs in new web UI
                 Key: FLINK-13550
                 URL: https://issues.apache.org/jira/browse/FLINK-13550
             Project: Flink
          Issue Type: New Feature
          Components: Runtime / Web Frontend
            Reporter: David Moravek


For a better insight into a running job, it would be useful to have ability to render a CPU flame graph for a particular job vertex.

Flink already has a stack-trace sampling mechanism in-place, so it should be straightforward to implement.

This should be done by implementing a new endpoint in REST API, which would sample the stack-trace the same way as current BackPressureTracker does, only with a different sampling rate and length of sampling.

[Here|https://www.youtube.com/watch?v=GUNDehj9z9o] is a little demo of the feature.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)