UTI: Add Download for iterative data.
[csit.git] / resources / tools / dash / app / pal / utils / constants.py
index 1c84ba1..cc4a9e0 100644 (file)
@@ -253,7 +253,11 @@ 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.
+    # 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]
 
     ############################################################################
@@ -269,6 +273,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.
 
@@ -285,6 +292,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.
 
@@ -297,3 +307,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"