php / php/php-src

FPM health check

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

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

Feature SAPI: fpm
主要言語
C
スター
40.4k
フォーク
8.1k
平均マージ
2日 13時間
マージ済み PR(30日)
96

説明

Description

The idea is to have a native support for the functionality offered by https://github.com/renatomefi/php-fpm-healthcheck . It means having endpoint that will return selected response (defaulting to 200 without body) if selected metrics in scoreboard are above specified threshold. Those metrics would be configurable in FPM config together with endpoint (listen and path like for status) and the actual response.

The main use case for this functionality are Kubernetes probes and possibly some monitoring tools. It should be more convenient for users and also require less resources then doing periodic status checks which need to collect all metrics.

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

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

はじめの一歩

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

調査の方向性

まず、issue に記載されている PHP-FPM ステータスエンドポイント、scoreboard メトリクス、FPM 設定を確認し、その後 php-fpm-healthcheck の動作と比較します。Kubernetes の probe と監視のユースケースをサポートしながら、設定可能な health エンドポイントで scoreboard のしきい値、listen 設定と path 設定、およびレスポンスを選択できれば完了です。

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

評価

技術スタック
c, php
領域
api, backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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