HomeDevCentral

Export metrics for php-fpm

Description

Export metrics for php-fpm

Summary:
Expose metrics in the default format at php-fpm level, then expose them
to Prometheus using an exporter compatible with sockets.

Since PHP 8.1, php-fpm also support OpenMetrics format, but that would
require to switch to a TCP configuration.

This tool needs access to php-fpm sockets, all belonging to web group.
The web-admin user is created to allow that access.

Ref T1999

Test Plan: Deployed on WindRiver

Reviewers: DorianWinty

Reviewed By: DorianWinty

Maniphest Tasks: T1999

Differential Revision: https://devcentral.nasqueron.org/D3502

Details

Provenance
derecksonAuthored on Thu, Oct 10, 21:39
derecksonPushed on Sun, Oct 20, 21:11
Reviewer
DorianWinty
Differential Revision
D3502: Export metrics for php-fpm
Parents
rOPS3cfb17e40ac2: Configure acme.sh
Branches
Unknown
Tags
Unknown
Tasks
T1999: Export metrics for php-fpm