Page MenuHomeDevCentral

Export metrics for php-fpm
Needs ReviewPublic

Authored by dereckson on Thu, Oct 10, 21:42.
Tags
None
Referenced Files
F3665722: D3502.id9013.diff
Thu, Oct 17, 20:54
F3665488: D3502.id9030.diff
Thu, Oct 17, 18:44
F3664993: D3502.id9020.diff
Thu, Oct 17, 15:18
F3664824: D3502.id9020.diff
Thu, Oct 17, 13:49
F3664707: D3502.id.diff
Thu, Oct 17, 13:05
Unknown Object (File)
Thu, Oct 17, 08:09
Unknown Object (File)
Thu, Oct 17, 06:50
Unknown Object (File)
Thu, Oct 17, 06:39
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.Thu, Oct 10, 23:35

Ready to review.

Configure user and pm status page for phpfpm_exporter service