Skip to content

Commit

Permalink
Closes linkedin#50. Fix a bug in the parse-metrics.sh script which di…
Browse files Browse the repository at this point in the history
…d not properly parse values in scientific notation. (linkedin#51)
  • Loading branch information
xkrogen authored Aug 1, 2018
1 parent e4104d0 commit 033a596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamometer-infra/src/main/bash/parse-metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fi

read -d '' -r awk_script <<'EOF'
BEGIN {
metric_regex="[[:space:]]"metric"=([[:digit:].]+)";
metric_regex="[[:space:]]"metric"=([[:digit:].E]+)";
end_ts=start_ts+(period_minutes*60*1000)
last_val=0
last_ts=start_ts
Expand Down

0 comments on commit 033a596

Please sign in to comment.