X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fcdash%2Futils%2Fconstants.py;h=34892e79bca7a21b13fcdac14599aef49c03f938;hb=9e28d41817b4f1b3a77a4c65d76da9d292fd9d8a;hp=ee421f1aec51518cef233ef53d95279b940370e5;hpb=c17ad9031ead7a9d658f9e83e78a494dfa0ed040;p=csit.git diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index ee421f1aec..34892e79bc 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -49,7 +49,7 @@ class Constants: # URL to the documentation URL_DOC_TRENDING = "https://csit.fd.io/cdocs/methodology/trending/analysis/" - URL_DOC_REL_NOTES = "https://csit.fd.io/cdocs/release_notes/csit_rls2306/" + URL_DOC_REL_NOTES = "https://csit.fd.io/cdocs/release_notes/current/" # Path and name of the file specifying the HTML layout of the dash # application. @@ -65,6 +65,9 @@ class Constants: # Data to be downloaded from the parquets specification file. DATA_SPEC_FILE = "cdash/data/data.yaml" + # Path to schemas to use when reading data from the parquet. + PATH_TO_SCHEMAS = "cdash/data/_metadata/" + # The file with tooltips. TOOLTIP_FILE = "cdash/utils/tooltips.yaml" @@ -356,6 +359,10 @@ class Constants: # Default name of downloaded file with selected data. STATS_DOWNLOAD_FILE_NAME = "stats.csv" + # The width of the bar in the graph in miliseconds. + STATS_BAR_WIDTH_DAILY = 1000 * 3600 * 15 + STATS_BAR_WIDTH_WEEKLY = 1000 * 3600 * 24 + ############################################################################ # Trending.