We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0697c91 commit 3d3e67bCopy full SHA for 3d3e67b
.buildkite/scripts/index-micro-benchmark-results.sh
@@ -1,8 +1,8 @@
1
#!/bin/bash
2
3
jq -c '.[]' "benchmarks/build/result.json" | while read -r doc; do
4
+ doc=$(echo "$doc" | jq --arg timestamp "$(date +%s000)" '. + {"@timestamp": $timestamp}')
5
echo "Indexing $(echo "$doc" | jq -r '.benchmark')"
- doc = $doc | jq --arg timestamp "$(date +%s000)" '. + {"@timestamp": $timestamp}'
6
curl -s -X POST "https://$PERF_METRICS_HOST/$PERF_METRICS_INDEX/_doc" \
7
-u "$PERF_METRICS_USERNAME:$PERF_METRICS_PASSWORD" \
8
-H 'Content-Type: application/json' \
0 commit comments