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

Configurable MetricQueryService interval

    XMLWordPrintableJSON

Details

    Description

      The MetricQueryService is used for transmitting metrics from TaskManagers to the JobManager, in order to expose them via REST and by extension the WebUI.

      By default the JM will poll metrics at most every 10 seconds. This has an adverse effect on the duration of our end-to-end tests, which for example query metrics via the REST API to determine whether the cluster has started. If during the first poll no TM is available it will take another 10 second for updated information to be available.

      By making this interval configurable we could this reduce the test duration. Additionally this could serve as a switch to disable the MetricQueryService.

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m