Page MenuHomeDevCentral

Export metrics for php-fpm
ClosedPublic

Authored by dereckson on Oct 10 2024, 21:42.
Tags
None
Referenced Files
F52738990: D3502.id9020.diff
Sun, Oct 4, 09:50
F52722407: D3502.id9013.diff
Sun, Oct 4, 06:29
F52722174: D3502.id9114.diff
Sun, Oct 4, 06:26
F52716736: D3502.id9030.diff
Sun, Oct 4, 05:18
F52703826: D3502.id9012.diff
Sun, Oct 4, 03:07
F52685071: D3502.id9020.diff
Sun, Oct 4, 00:37
F52685045: D3502.id9030.diff
Sun, Oct 4, 00:36
F52684951: D3502.id9012.diff
Sun, Oct 4, 00:36
Subscribers
None

Details

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

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
phpfpm_exporter
Build Status
Buildable 5569
Build 5851: arc lint + arc unit

Event Timeline

dereckson held this revision as a draft.

Draft as I still need to prepare the FreeBSD port for the exporter.

dereckson published this revision for review.Oct 10 2024, 23:35

Ready to review.

Configure user and pm status page for phpfpm_exporter service

This revision is now accepted and ready to land.Oct 20 2024, 14:03
This revision was automatically updated to reflect the committed changes.