azagrebin commented on a change in pull request #12659:
URL: https://github.com/apache/flink/pull/12659#discussion_r440361692



##########
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:
       generally, milliseconds have more precision and should not hurt to use




----------------------------------------------------------------
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]


Reply via email to