Skip to content

Commit 2beab53

Browse files
committed
Revert "create a span"
This reverts commit afd509b.
1 parent afd509b commit 2beab53

File tree

6 files changed

+117
-323
lines changed

6 files changed

+117
-323
lines changed

ddtrace/contrib/internal/futures/threading.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,4 @@ def _wrap_execution(ctx: Tuple[Optional[Context], Optional[Context]], fn, args,
3838
ddtrace.tracer.context_provider.activate(ctx[0])
3939
if ctx[1] is not None:
4040
core.dispatch("threading.execution", (ctx[1],))
41-
42-
with ddtrace.tracer.trace("threading.execution"):
43-
# This ensures all the spans created by the target function
44-
# are included in the same trace
45-
return fn(*args, **kwargs)
41+
return fn(*args, **kwargs)

releasenotes/notes/fix-futures-integration-c080dfc823ff58a2.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)