aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-08-15 13:39:05 +0200
committerTibor Frank <tifrank@cisco.com>2022-08-15 13:43:14 +0200
commitffcf925b2f686bf368c6ee4adb08c7075b732d63 (patch)
tree6494448f7e9a5db2b2811872e3cb3656e769a50e
parent4bfbd4d72ad53eb1694868c19640c8b4a17d32cb (diff)
UTI: Set the time period for news to 180 days
- 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>
-rw-r--r--resources/tools/dash/app/pal/utils/constants.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/resources/tools/dash/app/pal/utils/constants.py b/resources/tools/dash/app/pal/utils/constants.py
index cc4a9e0f23..b95a8f5456 100644
--- a/resources/tools/dash/app/pal/utils/constants.py
+++ b/resources/tools/dash/app/pal/utils/constants.py
@@ -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.