Chesnay Schepler created FLINK-10822:
----------------------------------------

             Summary: Configurable MetricQueryService interval
                 Key: FLINK-10822
                 URL: https://issues.apache.org/jira/browse/FLINK-10822
             Project: Flink
          Issue Type: Improvement
          Components: Metrics
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.8.0


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}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to