From nobody Mon Oct 4 11:22:46 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4AEA317AB353 for ; Mon, 4 Oct 2021 11:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HNJGt1R2Vz4bp3 for ; Mon, 4 Oct 2021 11:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 123E21873B for ; Mon, 4 Oct 2021 11:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 194BMkJq010443 for ; Mon, 4 Oct 2021 11:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 194BMkgt010442 for ports-bugs@FreeBSD.org; Mon, 4 Oct 2021 11:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 04 Oct 2021 11:22:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd.org@neant.ro X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=