Skip to content

Commit

Permalink
force empty parent span id for workflow root
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Nov 11, 2024
1 parent c702cfb commit b0e6ea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion telemetry-impls/summarize/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ runs:
--name "workflow root" \
--force-trace-id "$(cut -d'-' -f2 <<<"$job_traceparent")" \
--force-span-id "$(cut -d'-' -f3 <<<"$job_traceparent")" \
--force-parent-span-id "" \
--start "${START_TIME}" \
--end "${last_timestamp}" \
--verbose --fail \
Expand All @@ -148,7 +149,7 @@ runs:
# because we don't know the true end time until we
# go though the steps.
otel-cli span create \
--name "workflow root" \
--name "child workflow root" \
--force-trace-id "$(cut -d'-' -f2 <<<"$job_traceparent")" \
--force-span-id "$(cut -d'-' -f3 <<<"$job_traceparent")" \
--force-parent-span-id "$(cut -d'-' -f3 <<<"$TOP_LEVEL_TRACEPARENT")" \
Expand Down

0 comments on commit b0e6ea6

Please sign in to comment.