prometheus / prometheus/client_python
Debug request logging.
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 4.4k
- フォーク
- 876
- 平均マージ
- 8日 4時間
- マージ済み PR(30日)
- 1
説明
I'm trying to debug why Prometheus isn't pulling metrics from my client. Is there some way I can get this library to log each incoming http request, including the IP of the request?
Ideally it would be something like start_http_server(log_level="debug"), and then each request will be printed to stdout.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
エントリーポイント start_http_server から開始し、受信した HTTP リクエストがどのように処理されるかを追跡します。リクエスト IP を含むリクエストのログ出力を debug レベルのオプションで制御できる箇所を特定し、検証のために既存のプロジェクトテストまたはリクエスト処理パスを確認します。通常の動作を変更せず、debug モードで各リクエストが stdout に出力されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- prometheus, python
- 領域
- observability
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100