You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "David Moravek (JIRA)" <ji...@apache.org> on 2019/08/02 08:18:00 UTC

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

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)