kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [kudu] branch master updated: [benchmarks] fetch last 10 weeks of stats for graphs
Date Tue, 04 Aug 2020 17:30:10 GMT
This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new e58cfb7  [benchmarks] fetch last 10 weeks of stats for graphs
e58cfb7 is described below

commit e58cfb7608410ec0ea6bd058baba50b8470eae53
Author: Alexey Serbin <alexey@apache.org>
AuthorDate: Mon Aug 3 21:58:17 2020 -0700

    [benchmarks] fetch last 10 weeks of stats for graphs
    
    Updated the benchmarks.sh script to fetch last 10 weeks of stats when
    building graphs of performance metrics (it was 4 weeks prior).
    
    Change-Id: Iaff4dd916874cec6e31afc5cd5c69b3e4a9f5ff2
    Reviewed-on: http://gerrit.cloudera.org:8080/16282
    Tested-by: Alexey Serbin <aserbin@cloudera.com>
    Reviewed-by: Grant Henke <granthenke@apache.org>
---
 src/kudu/scripts/benchmarks.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/kudu/scripts/benchmarks.sh b/src/kudu/scripts/benchmarks.sh
index cb3eeef..b027e41 100755
--- a/src/kudu/scripts/benchmarks.sh
+++ b/src/kudu/scripts/benchmarks.sh
@@ -35,6 +35,9 @@ set -o pipefail
 MODE_JENKINS="jenkins"
 MODE_LOCAL="local"
 
+# In Jenkins mode, get last 10 weeks of stats stored in the database.
+STATS_DAYS_TO_FETCH=70
+
 LOCAL_STATS_BASE="local-stats"
 
 NUM_MT_TABLET_TESTS=5
@@ -121,8 +124,7 @@ record_result() {
 load_stats() {
   local TEST_NAME="$1"
   if [ "$BENCHMARK_MODE" = "$MODE_JENKINS" ]; then
-    # Get last 4 weeks of stats
-    python get-job-stats-from-mysql.py $TEST_NAME 28
+    python get-job-stats-from-mysql.py $TEST_NAME $STATS_DAYS_TO_FETCH
   else
     # Convert MySQL wildcards to shell wildcards.
     local TEST_NAME=$(echo $TEST_NAME | perl -pe 's/%/*/g')


Mime
View raw message