Commits

Stefan Saasen committed a9cadfd

Update the example script to use mulitple log files as input

  • Participants
  • Parent commits 4f499f2

Comments (0)

Files changed (1)

regenerate-graphs.sh

 
 
 # Ensure that 'logparser' is in the PATH (e.g. run rebuild.sh or 'cabal copy')
-
-LOG_FILE=${1:-"../access-logs/aggregated-log-file"}
+DATE=${1:-`date "+%Y-%m"`}
+LOG_FILE=${1:-"../access-logs/atlassian-stash-access-${DATE}*"}
 
 time logparser gitOperations ${LOG_FILE} +RTS -sstderr > plot-git-ops
 time logparser requestDurations ${LOG_FILE} +RTS -sstderr > clone-duration