You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jackylau (Jira)" <ji...@apache.org> on 2022/01/11 08:57:00 UTC

[jira] [Comment Edited] (FLINK-13550) Support for CPU FlameGraphs in web UI

    [ https://issues.apache.org/jira/browse/FLINK-13550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472570#comment-17472570 ] 

jackylau edited comment on FLINK-13550 at 1/11/22, 8:56 AM:
------------------------------------------------------------

hi [~dmvk] , i found the flame graph webui is hang when the job is parallesim is big such as 500+. i support it using async profiler by add script ability in task manager. and that is taskmanger level instead of Jobvertex level. will it be able to add it open source flink?


was (Author: jackylau):
hi 

> Support for CPU FlameGraphs in web UI
> -------------------------------------
>
>                 Key: FLINK-13550
>                 URL: https://issues.apache.org/jira/browse/FLINK-13550
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / REST, Runtime / Web Frontend
>            Reporter: David Morávek
>            Assignee: Alexander Fedulov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>         Attachments: image-2021-11-23-13-36-03-269.png
>
>
> 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
(v8.20.1#820001)