php / php/php-src

FPM health check

Open
#10,314 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature SAPI: fpm
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the PHP-FPM status endpoint, scoreboard metrics, and FPM configuration described in the issue, then compare the behavior of php-fpm-healthcheck. Done means a configurable health endpoint can select scoreboard thresholds, listen and path settings, and its response while supporting Kubernetes probes and monitoring use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, php
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.