Skip to content

refactor(profiling): sys.monitoring asyncio path for py3.15 - #19272

Draft
vlad-scherbich wants to merge 4 commits into
vlad/ddtracepy-315-profiling-collectorsfrom
vlad/ddtracepy-315-profiling-asyncio-monitoring
Draft

refactor(profiling): sys.monitoring asyncio path for py3.15#19272
vlad-scherbich wants to merge 4 commits into
vlad/ddtracepy-315-profiling-collectorsfrom
vlad/ddtracepy-315-profiling-asyncio-monitoring

Conversation

@vlad-scherbich

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

Copy link
Copy Markdown
Contributor

prev: #19270 | next: #19273

Summary

Replace bytecode wrapping with a profiling-local sys.monitoring path in _asyncio.py (3.15+). Completes functional asyncio profiling parity for 3.15 on this stack.

Test plan

Tracker

@datadog-official

datadog-official Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

🚦 16 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v113741238-d2b8243-manylinux2014_x86_64, 1] — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitLab

DataDog/apm-reliability/dd-trace-py | build linux serverless: [amd64, cp315-cp315, v126532274-233089d-musllinux_1_2_x86_64, 1] — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitLab

DataDog/apm-reliability/dd-trace-py | build linux serverless: [arm64, cp315-cp315, v113741357-d2b8243-manylinux2014_aarch64, 1] — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitLab

View all 16 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 082c37a | Docs | View more details | Give us feedback!

@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-only branch from aea4440 to 6cf8030 Compare August 21, 2026 04:53
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-asyncio-monitoring branch from 4b85b1d to 636fd80 Compare August 21, 2026 04:53
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-only branch from 6cf8030 to 10fd21c Compare August 21, 2026 17:43
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-asyncio-monitoring branch from 636fd80 to ba0a39e Compare August 21, 2026 17:43
vlad-scherbich and others added 4 commits August 21, 2026 21:41
…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>

# Conflicts:
#	ddtrace/profiling/collector/_memalloc_tb.cpp
@vlad-scherbich
vlad-scherbich force-pushed the vlad/ddtracepy-315-profiling-asyncio-monitoring branch from ba0a39e to 082c37a Compare August 21, 2026 18:43
@vlad-scherbich
vlad-scherbich changed the base branch from vlad/ddtracepy-315-profiling-only to vlad/ddtracepy-315-profiling-collectors August 21, 2026 18:44
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