Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13550

Support for CPU FlameGraphs in web UI

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Release Note:
      Flink now offers Flamegraphs for each node in the job graph. Please enable this experimental feature by setting the respective configuration flag rest.flamegraph.enabled.

      Description

      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 is a little demo of the feature.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              afedulov Alexander Fedulov
              Reporter:
              dmvk David Morávek

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment