Skip to content

Commit

Permalink
Merge pull request #11 from newrelic-experimental/stepattrs
Browse files Browse the repository at this point in the history
Stepattrs
  • Loading branch information
dpacheconr committed Nov 10, 2023
2 parents 3700fd7 + db97333 commit 275dee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
# Steps trace span
for step in job['steps']:
# Set steps tracer and logger
resource_attributes ={SERVICE_NAME: GHA_SERVICE_NAME,"github.source": "github-exporter","github.resource.type": "span"}
resource_attributes ={SERVICE_NAME: GHA_SERVICE_NAME,"github.source": "github-exporter","github.resource.type": "span","workflow_run_id": GHA_RUN_ID}
resource_log = Resource(attributes=resource_attributes)
step_tracer = get_tracer(endpoint, headers, resource_log, "step_tracer")

Expand Down

0 comments on commit 275dee8

Please sign in to comment.