php / php/php-src

FPM health check

未关闭
#10,314 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Feature SAPI: fpm
主要语言
C
星标
40.4k
派生
8.1k
平均合并
2 天 13 小时
30 天内合并 PR
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先查看 issue 中描述的 PHP-FPM 状态端点、scoreboard 指标和 FPM 配置,然后比较 php-fpm-healthcheck 的行为。当可配置的 health 端点能够选择 scoreboard 阈值、监听和路径设置以及其响应,同时支持 Kubernetes 探针和监控使用场景时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
c, php
领域
api, backend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。