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 Oct 10 2024, 21:39
derecksonPushed on Oct 20 2024, 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