Expose internal stack introspection APIs as a statistical runtime analysis tool
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
Implement a new high-frequency runtime observer that leverages the existing _remote_debugging module to collect detailed execution statistics from running Python processes. This tool enables non-intrusive observation of production applications by attaching to already-running processes without requiring any code modifications, restarts, or special startup flags. The observer can perform extremely high-frequency sampling of stack traces and interpreter state, providing detailed runtime execution analysis of live applications.
Linked PRs
- gh-135998
- gh-136777
- gh-138304
- gh-138715
- gh-138721
- gh-138875
- gh-138880
- gh-139364
- gh-139485
- gh-141666
- gh-141689
- gh-141719
- gh-146045
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀現有的 _remote_debugging 模組,以及 issue 中列出的相關 PRs,因為它們似乎包含目前進行中的實作工作。在估算範圍之前,先確認預期使用哪些堆疊自省 API,以及 observer 的行為;只有當約定的執行期分析工具能夠附加到正在執行的 Python 程序,並在不修改程式碼或重新啟動的情況下收集指定的統計資料時,該 issue 才算完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- observability
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 15/100