zentol commented on a change in pull request #12659:
URL: https://github.com/apache/flink/pull/12659#discussion_r440230845
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
##########
@@ -119,7 +120,7 @@ public MetricRegistryImpl(MetricRegistryConfiguration
config, Collection<Reporte
try {
Optional<String> configuredPeriod =
reporterSetup.getIntervalSettings();
TimeUnit timeunit = TimeUnit.SECONDS;
- long period = 10;
+ long period =
MetricOptions.REPORTER_INTERVAL.defaultValue().getSeconds();
Review comment:
~~unlikely; and sub-second interval will just overload whatever external
system you have.~~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]