This is an automated email from the ASF dual-hosted git repository.

jxue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new ea3011b  change default monitor window length from 1 hour to 1 min 
(#1261)
ea3011b is described below

commit ea3011b75764c134209b72b77f99813869641218
Author: Meng Zhang <[email protected]>
AuthorDate: Wed Aug 12 16:58:53 2020 -0700

    change default monitor window length from 1 hour to 1 min (#1261)
    
    Change default monitor window length from 1 hour to 1 min
---
 .../helix/monitoring/mbeans/dynamicMBeans/DynamicMBeanProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/metrics-common/src/main/java/org/apache/helix/monitoring/mbeans/dynamicMBeans/DynamicMBeanProvider.java
 
b/metrics-common/src/main/java/org/apache/helix/monitoring/mbeans/dynamicMBeans/DynamicMBeanProvider.java
index adbc9e6..aa22cd4 100644
--- 
a/metrics-common/src/main/java/org/apache/helix/monitoring/mbeans/dynamicMBeans/DynamicMBeanProvider.java
+++ 
b/metrics-common/src/main/java/org/apache/helix/monitoring/mbeans/dynamicMBeans/DynamicMBeanProvider.java
@@ -47,7 +47,7 @@ import org.slf4j.LoggerFactory;
  */
 public abstract class DynamicMBeanProvider implements DynamicMBean, 
SensorNameProvider {
   protected final Logger _logger = LoggerFactory.getLogger(getClass());
-  protected static final long DEFAULT_RESET_INTERVAL_MS = 60 * 60 * 1000; // 
Reset time every hour
+  protected static final long DEFAULT_RESET_INTERVAL_MS = 60 * 1000; // Reset 
time every minute
   private static final String HELIX_MONITOR_TIME_WINDOW_LENGTH_MS =
       "helix.monitor.slidingTimeWindow.ms";
   private static final String SENSOR_NAME_TAG = "SensorName";

Reply via email to