Skip to content

Vlad/ddtracepy 315 profiling asyncio monitoring - #19256

Merged
vlad-scherbich merged 4 commits into
vlad/315-official-supportfrom
vlad/ddtracepy-315-profiling-asyncio-monitoring
Jul 24, 2026
Merged

Vlad/ddtracepy 315 profiling asyncio monitoring#19256
vlad-scherbich merged 4 commits into
vlad/315-official-supportfrom
vlad/ddtracepy-315-profiling-asyncio-monitoring

Conversation

@vlad-scherbich

@vlad-scherbich vlad-scherbich commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

prev: #19249 | next: #19260

Summary

Replace bytecode wrapping with sys.monitoring in _asyncio.py.

Test plan

  • CI green on this branch
  • Stack merges cleanly into the next PR's base branch

@datadog-prod-us1-6

This comment has been minimized.

@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-asyncio-monitoring branch from 57f4f96 to 4d06889 Compare July 23, 2026 14:14
@vlad-scherbich
vlad-scherbich changed the base branch from main to vlad/ddtracepy-315-profiling-only July 23, 2026 14:18
@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jul 23, 2026

Copy link
Copy Markdown

Circular import analysis

⚠️ Existing circular imports

There are 33 circular imports that already exist on the base branch and have not been changed by this PR.

Show existing cycles (showing 5 of 33 shortest)
ddtrace.internal.datastreams -> ddtrace.internal.datastreams.kafka -> ddtrace.internal.datastreams
ddtrace._trace.span -> ddtrace.internal.core -> ddtrace._trace.span
ddtrace.internal.datastreams -> ddtrace.internal.datastreams.aiokafka -> ddtrace.internal.datastreams
ddtrace.internal.datastreams -> ddtrace.internal.datastreams.google_cloud_pubsub -> ddtrace.internal.datastreams
ddtrace.internal.datastreams -> ddtrace.internal.datastreams.kombu -> ddtrace.internal.datastreams

To see all cycles, download the cycles-base.json and cycles-pr.json artifacts from this CI job and run:

uv run --script scripts/import-analysis/cycles.py compare cycles-base.json cycles-pr.json

@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codeowners resolved as

ddtrace/profiling/_asyncio.py                                           @DataDog/profiling-python

@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-only branch from 13b3f3a to 253957f Compare July 23, 2026 14:31
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-asyncio-monitoring branch from 4d06889 to 6e7f707 Compare July 23, 2026 14:31
vlad-scherbich and others added 4 commits July 23, 2026 21:24
…direct patching in _asyncio.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…5+ only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-only branch from 253957f to aea4440 Compare July 24, 2026 01:25
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-asyncio-monitoring branch from 6e7f707 to 4b85b1d Compare July 24, 2026 01:25
Base automatically changed from vlad/ddtracepy-315-profiling-only to vlad/315-official-support July 24, 2026 01:25
@vlad-scherbich
vlad-scherbich merged commit 4b85b1d into vlad/315-official-support Jul 24, 2026
4 of 7 checks passed
@vlad-scherbich
vlad-scherbich deleted the vlad/ddtracepy-315-profiling-asyncio-monitoring branch July 24, 2026 01:25
@vlad-scherbich
vlad-scherbich restored the vlad/ddtracepy-315-profiling-asyncio-monitoring branch July 24, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant