Skip to content

Commit 204d0a2

Browse files
committed
fix(tracing): activate distributed headers in the rq integration
This was forgotten in 9a5fd14.
1 parent 0b32ac2 commit 204d0a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ddtrace/contrib/internal/rq/patch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def traced_perform_job(rq, pin, func, instance, args, kwargs):
112112
resource=job.func_name,
113113
integration_config=config.rq_worker,
114114
distributed_headers=job.meta,
115+
activate_distributed_headers=True,
115116
tags={COMPONENT: config.rq.integration_name, SPAN_KIND: SpanKind.CONSUMER, JOB_ID: job.get_id()},
116117
) as ctx, ctx.span:
117118
try:

0 commit comments

Comments
 (0)