Date: Mon, 04 Oct 2021 11:22:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258916] [NEW PORT] net-mgmt/php-fpm_exporter: export PHP-FPM metrics for Prometheus Message-ID: <bug-258916-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258916 Bug ID: 258916 Summary: [NEW PORT] net-mgmt/php-fpm_exporter: export PHP-FPM metrics for Prometheus Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd.org@neant.ro Created attachment 228429 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228429&action= =3Dedit new port, exposes php-fpm/staus metrics for Prometheus Exports php-fpm /status page into a format that Prometheus understands on p= ort 9253. A build of https://github.com/hipages/php-fpm_exporter. My first port. Copy&pasted and googled my way into something that seems to = work as intended. Tested only on FreeBSD 12.2 on AMD64, but the releases page on GitHub has binaries for ARM64 too, so I assume that also works. I'm not sure about PLIST_FILES, shouldn't it also list the rc.d script that= it installs? I am not a Go developer, I don't actually fully understand what I did. It builds and it works-on-my-machines, that's all I know. 'make test' output: =3D=3D=3D> Testing ./... ? github.com/hipages/php-fpm_exporter [no test files] ? github.com/hipages/php-fpm_exporter/cmd [no test files] =3D=3D=3D RUN TestCountProcessState --- PASS: TestCountProcessState (0.00s) =3D=3D=3D RUN TestCannotUnmarshalNumberIssue10 --- PASS: TestCannotUnmarshalNumberIssue10 (0.00s) =3D=3D=3D RUN TestInvalidCharacterIssue24 --- PASS: TestInvalidCharacterIssue24 (0.00s) =3D=3D=3D RUN TestJsonResponseFixer --- PASS: TestJsonResponseFixer (0.00s) =3D=3D=3D RUN TestParseURL --- PASS: TestParseURL (0.00s) PASS ok github.com/hipages/php-fpm_exporter/phpfpm 0.009s --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258916-7788>