UTI: Set the time period for news to 180 days 02/36902/2
authorTibor Frank <tifrank@cisco.com>
Mon, 15 Aug 2022 11:39:05 +0000 (13:39 +0200)
committerTibor Frank <tifrank@cisco.com>
Mon, 15 Aug 2022 11:43:14 +0000 (13:43 +0200)
- It is defined by the constant TIME_PERIOD, so it is the same as
  for the trending.
- The jumpavg lib is now much faster so we can use full scale for news.

Change-Id: Id092efa544e4ee2111564e09fb71fb6c3b48a73b
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/dash/app/pal/utils/constants.py

index cc4a9e0..b95a8f5 100644 (file)
@@ -253,12 +253,8 @@ class Constants:
     # The default job displayed when the page is loaded first time.
     NEWS_DEFAULT_JOB = "csit-vpp-perf-mrr-daily-master-2n-icx"
 
-    # Time period for regressions and progressions. Be CAREFULL with this
-    # number. Setting it too high causes long processing time during the
-    # application start-up.
-    # If NEWS_TIME_PERIOD = 180, it takes approx. 35 minutes to calculate
-    # annomalies for all tests.
-    NEWS_TIME_PERIOD = 21  # [days]
+    # Time period for regressions and progressions.
+    NEWS_TIME_PERIOD = TIME_PERIOD  # [days]
 
     ############################################################################
     # Report.