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

Create a http handler for aggregating metrics from whole job

    XMLWordPrintableJSON

Details

    Description

      This is an optimisation idea.

      Create a similar http handler to AggregatingSubtasksMetricsHandler, but one that would aggregate metrics per task, from all of the job vertices. The new handler would only take JobID as a parameter. So that Web UI can in one RPC obtain max(isBackPressureRatio) / max(isCausingBackPressureRatio) per each task in the job graph.

      This is related to FLINK-14712, where we are invoking more REST calls to get the statistics per each task/node (in order to color the nodes based on the back pressure and busy times). With this new handler, WebUI could make a one REST call to get all the metrics it needs, instead of doing one REST call per every Task.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: