Expose internal stack introspection APIs as a statistical runtime analysis tool
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 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