Skip to content

Commit

Permalink
ci: add name as a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yihau committed Jul 22, 2024
1 parent ab5fd77 commit 7e29e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/upload-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ while IFS= read -r line; do
median=$(echo "$line" | jq -r '.median')
deviation=$(echo "$line" | jq -r '.deviation')

datapoint="${INFLUX_MEASUREMENT},commit=${COMMIT_HASH},test_suite=${TEST_SUITE} name=\"$name\",median=${median}i,deviation=${deviation}i"
datapoint="${INFLUX_MEASUREMENT},commit=${COMMIT_HASH},test_suite=${TEST_SUITE},name=${name} median=${median}i,deviation=${deviation}i"
echo "datapoint: $datapoint"

curl -s -X POST "${INFLUX_HOST}/write?db=${INFLUX_DB}" --data-binary "$datapoint"
Expand Down

0 comments on commit 7e29e57

Please sign in to comment.