Hi Jacky,
I think it’s a very useful feature, can get flame graph easily and avoid
run script personally.
But I think can package async-profiler library into flink, and use JNI
execute the profiling, doesn’t depend on local environment.
We did this way in out internal version, and provide api to download
generated html file.

Jacky Lau <281293...@qq.com.invalid> 于2022年1月24日周一 16:48写道:

> Hi All,
> &nbsp; &nbsp; I would like to start the discussion on FLIP-213 <
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-213%3A+TaskManager%27s+Flame+Graphs&gt
> ;
> &nbsp;which aims to provide taskmanager level(process level) flame graph
> by async profiler, which is most popular tool in java performance. and the
> arthas and intellij both use it.&nbsp;
> And we support it in our ant group company.
> &nbsp; &nbsp;And&nbsp;Flink supports FLIP-165: Operator's Flame Graphs
> now. and it draw flame graph by the&nbsp;front-end
> libraries&nbsp;d3-flame-graph, which has some problem in&nbsp; jobs
> of&nbsp;large of parallelism.
> &nbsp; &nbsp;Please be aware that the FLIP wiki area is not fully done
> since i don't konw whether it will accept by flink&nbsp;community.&nbsp;
> &nbsp; &nbsp;Feel free to add your thoughts to make this feature better! i
> am looking forward&nbsp; to all your response. Thanks too much!
>
>
>
>
> Best Jacky Lau

Reply via email to