Skip to content

Commit

Permalink
fix logic on top-level traceparent
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Nov 8, 2024
1 parent 4a974d7 commit 8a83c40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telemetry-impls/summarize/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ runs:
- name: Add attribute metadata beyond the stashed basic stuff
shell: bash
run:
attributes="${OTEL_RESOURCE_ATTRIBUTES},git.repo=${GITHUB_REPOSITORY}";
labels="$(jq -r '.labels | join(" ")' job_info.json)";
attributes="${OTEL_RESOURCE_ATTRIBUTES}";
if [ "${labels}" != "" ]; then
attributes="${attributes},rapids.labels=${labels}";
fi;
Expand Down Expand Up @@ -118,7 +118,7 @@ runs:
status_description=
fi
if [ "${TOP_LEVEL_TRACEPARENT}" != "${job_traceparent}" ]; then
if [ "${TOP_LEVEL_TRACEPARENT}" = "${job_traceparent}" ]; then
# This is (unintuitively) set here and not in the loop above
# because we don't know the true end time until we
# go though the steps.
Expand Down

0 comments on commit 8a83c40

Please sign in to comment.