File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,12 @@ jobs:
45
45
ID_1="$(printf '%08x' $(date +%s))"
46
46
ID_2="$(openssl rand -hex 12)"
47
47
W3C_TRACE_ID="${ID_1}${ID_2}"
48
- XRAY_TRACE_ID="Root= 1-${ID_1}-${ID_2};Parent=$(openssl rand -hex 8);Sampled=1 "
48
+ XRAY_TRACE_ID="1-${ID_1}-${ID_2}"
49
49
echo "XRAY_TRACE_ID=${XRAY_TRACE_ID}" >> $GITHUB_ENV
50
50
echo "W3C_TRACE_ID=${W3C_TRACE_ID}" >> $GITHUB_ENV
51
51
echo "Generated XRay Trace ID: ${XRAY_TRACE_ID}"
52
-
52
+ echo "Generated W3C Trace ID: ${XRAY_TRACE_ID}"
53
+
53
54
- name : Configure AWS Credentials
54
55
uses : aws-actions/configure-aws-credentials@v4
55
56
with :
@@ -110,7 +111,7 @@ jobs:
110
111
export NUM_REQUESTS="1"
111
112
export DELAY_SECONDS="5"
112
113
export TIMEOUT="30"
113
- export TRACE_ID="${{ env. XRAY_TRACE_ID }} "
114
+ export TRACE_ID="Root=${ XRAY_TRACE_ID};Parent=$(openssl rand -hex 8);Sampled=1 "
114
115
./generate_traffic.sh
115
116
116
117
- name : Validate generated logs
You can’t perform that action at this time.
0 commit comments