PHP-FPM slow log entires should include the request URL
まだ誰も着手していません。
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
To my knowledge, it's not possible to configure PHP-FPM slow logs to contain the full request URL.
This is a major problem for web applications like WordPress that utilize a front-controller pattern, where every URL maps to a single PHP script, such as wordpress/index.php.
As far as I know, cross-referencing slow log timestamps with access log timestamps is the best workaround, which is tedious and impossible for high-traffic sites, as second granularity can be insufficient, and the subsecond timestamps of the slow log and access log may not match.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、PHP-FPM の slow-log 生成と、リクエストが記録されるときに利用できるリクエストメタデータを追跡します。slow-log の設定がどのように表現されているかを確認し、完全なリクエスト URL のテスト可能な出力形式を定義します。slow log が timestamp を相互参照しなくても URL を特定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, php
- 領域
- backend, observability
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100