Skip to content

fix(tracing): include class scope in wrap names#17224

Draft
KowalskiThomas wants to merge 1 commit intomainfrom
dd/kowalski/fix/span-link-trace-id-dedup
Draft

fix(tracing): include class scope in wrap names#17224
KowalskiThomas wants to merge 1 commit intomainfrom
dd/kowalski/fix/span-link-trace-id-dedup

Conversation

@KowalskiThomas
Copy link
Copy Markdown
Contributor

@KowalskiThomas KowalskiThomas commented Mar 31, 2026

Description

This fixes a TODO "include the class name for methods" for the wrap decorator. Previously, the default name would be f"{f.__module__}.{f.__name__}; now it will be f"{f.__module__}.{class_name}.{f.__name__}.

@datadog-prod-us1-5
Copy link
Copy Markdown

datadog-prod-us1-5 bot commented Mar 31, 2026

View session in Datadog

Bits Dev status: ✅ Done

CI Auto-fix: Disabled | Enable

Comment @DataDog to request changes

@datadog-prod-us1-6
Copy link
Copy Markdown

I can only run on private repositories.

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da bot commented Mar 31, 2026

Codeowners resolved as

ddtrace/_trace/tracer.py                                                @DataDog/apm-sdk-capabilities-python
releasenotes/notes/tracing-wrap-default-name-class-scope-9f2b8e3a1c5d4f67.yaml  @DataDog/apm-python
tests/tracer/test_tracer.py                                             @DataDog/apm-sdk-capabilities-python @DataDog/apm-core-python

@KowalskiThomas KowalskiThomas force-pushed the dd/kowalski/fix/span-link-trace-id-dedup branch 2 times, most recently from c8c9d6d to 6f61d5d Compare April 1, 2026 07:51
@KowalskiThomas KowalskiThomas force-pushed the dd/kowalski/fix/span-link-trace-id-dedup branch from 6f61d5d to a1d5aba Compare April 1, 2026 07:53
@KowalskiThomas KowalskiThomas added the Tracing Distributed Tracing label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bits AI Tracing Distributed Tracing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant