python / python/cpython

Expose internal stack introspection APIs as a statistical runtime analysis tool

オープン
#135,953 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

interpreter-core type-feature
主要言語
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、既存の _remote_debugging モジュールと、issue に記載されているリンク先の PRs を読みます。これらには進行中の実装作業が含まれているようです。スコープを見積もる前に、どのスタックイントロスペクション API と observer の動作が意図されているのかを確認してください。合意されたランタイム分析ツールが、コードの変更や再起動なしに実行中の Python プロセスへアタッチし、指定された統計情報を収集できるようになって初めて、issue は完了します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
observability
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。