You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ap...@apache.org on 2018/11/13 23:11:09 UTC

[incubator-pinot] branch master updated: [TE] Reset default lookback for merging anomalies (#3450)

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

apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new eeaf9db  [TE] Reset default lookback for merging anomalies (#3450)
eeaf9db is described below

commit eeaf9db4573e850f7c57d9464f0535e15e70b5e7
Author: Akshay Rai <ak...@gmail.com>
AuthorDate: Tue Nov 13 15:11:04 2018 -0800

    [TE] Reset default lookback for merging anomalies (#3450)
---
 .../java/com/linkedin/thirdeye/anomaly/merge/AnomalyMergeConfig.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/merge/AnomalyMergeConfig.java b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/merge/AnomalyMergeConfig.java
index 5db6e23..c29c525 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/merge/AnomalyMergeConfig.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/merge/AnomalyMergeConfig.java
@@ -39,7 +39,10 @@ import java.util.List;
 public class AnomalyMergeConfig {
   private AnomalyMergeStrategy mergeStrategy = AnomalyMergeStrategy.FUNCTION;
   private long sequentialAllowedGap = 30_000; // 30 seconds
-  private long maxMergeDurationLength = 12 * 60 * 60 * 1000; // 12 hours
+
+  // Look back for 2 days to accommodate merging of anomalies in daily metrics
+  private long maxMergeDurationLength = 48 * 60 * 60 * 1000; // 48 hours
+
   private List<String> mergeablePropertyKeys = new ArrayList<>();
 
   public AnomalyMergeConfig() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org