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

Support for CPU FlameGraphs in web UI

    XMLWordPrintableJSON

Details

    • 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

              afedulov Alexander Fedulov
              dmvk David Morávek
              Votes:
              1 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: