tillrohrmann commented on a change in pull request #7459:  [FLINK-11300] Make 
MetricFetcher update interval configurable
URL: https://github.com/apache/flink/pull/7459#discussion_r247114609
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/RestHandlerConfiguration.java
 ##########
 @@ -38,18 +38,23 @@
 
        private final File webUiDir;
 
+       private final long metricFetcherUpdateInterval;
 
 Review comment:
   I think it would be possible to refactor the `WebMonitorEndpoint` to get a 
`MetricFetcher` passed in. Then this configuration parameter would not be 
needed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to