X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fdash%2Fapp%2Fpal%2Futils%2Fconstants.py;h=b95a8f5456e2437251a1ddffb2536092122a3127;hb=ffcf925b2f686bf368c6ee4adb08c7075b732d63;hp=7a836e79f38479db7db0313888b58ad91531ff9a;hpb=2f9e211bd097fdd2f83df540aa494d924df01c7d;p=csit.git diff --git a/resources/tools/dash/app/pal/utils/constants.py b/resources/tools/dash/app/pal/utils/constants.py index 7a836e79f3..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. @@ -273,6 +269,9 @@ class Constants: # Layout of plot.ly graphs. REPORT_GRAPH_LAYOUT_FILE = "pal/report/layout.yaml" + # Default name of downloaded file with selected data. + REPORT_DOWNLOAD_FILE_NAME = "iterative_data.csv" + ############################################################################ # Statistics. @@ -289,6 +288,9 @@ class Constants: # The default job displayed when the page is loaded first time. STATS_DEFAULT_JOB = "csit-vpp-perf-mrr-daily-master-2n-icx" + # Default name of downloaded file with selected data. + STATS_DOWNLOAD_FILE_NAME = "stats.csv" + ############################################################################ # Trending. @@ -301,3 +303,6 @@ class Constants: # Layout of plot.ly graphs. TREND_GRAPH_LAYOUT_FILE = "pal/trending/layout.yaml" + + # Default name of downloaded file with selected data. + TREND_DOWNLOAD_FILE_NAME = "trending_data.csv"