diff --git a/src/exporter.py b/src/exporter.py index 0497f3e..657eb5d 100644 --- a/src/exporter.py +++ b/src/exporter.py @@ -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")