This is an automated email from the ASF dual-hosted git repository. jihao pushed a commit to branch minute-level-delay in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit 58db77b1b632cee40362f100674230415b5b2a68 Author: Jihao Zhang <[email protected]> AuthorDate: Fri Apr 10 14:45:37 2020 -0700 [TE] add a default window delay for minute level metrics --- .../thirdeye/detection/yaml/translator/DetectionConfigTranslator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/translator/DetectionConfigTranslator.java b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/translator/DetectionConfigTranslator.java index 1610818..b1833ff 100644 --- a/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/translator/DetectionConfigTranslator.java +++ b/thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/translator/DetectionConfigTranslator.java @@ -444,6 +444,8 @@ public class DetectionConfigTranslator extends ConfigTranslator<DetectionConfigD properties.put(PROP_WINDOW_SIZE, 6); properties.put(PROP_WINDOW_UNIT, TimeUnit.HOURS); properties.put(PROP_FREQUENCY, new TimeGranularity(15, TimeUnit.MINUTES)); + properties.put(PROP_WINDOW_DELAY, 10); + properties.put(PROP_WINDOW_DELAY_UNIT, TimeUnit.MINUTES); } else { properties.put(PROP_WINDOW_SIZE, 6); properties.put(PROP_WINDOW_UNIT, TimeUnit.HOURS); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
