From unknown Sat Jun 21 10:44:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30802] [PATCH] gnu: Add python-prometheus-client. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Mar 2018 18:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30802 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 30802@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15209670756657 (code B ref -1); Tue, 13 Mar 2018 18:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Mar 2018 18:51:15 +0000 Received: from localhost ([127.0.0.1]:59848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evp0z-0001jG-BY for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evp0y-0001j1-6X for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evp0r-0004pG-PW for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35440) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evp0r-0004pC-M8 for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evp0q-0008SL-5g for guix-patches@gnu.org; Tue, 13 Mar 2018 14:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evp0l-0004mc-8M for guix-patches@gnu.org; Tue, 13 Mar 2018 14:51:04 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:58068 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evp0l-0004m8-1k for guix-patches@gnu.org; Tue, 13 Mar 2018 14:50:59 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 4A9F713D067; Tue, 13 Mar 2018 18:50:58 +0000 (GMT) Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E375D13D064 for ; Tue, 13 Mar 2018 18:50:57 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b01d3a78 for ; Tue, 13 Mar 2018 18:50:57 +0000 (UTC) From: Christopher Baines Date: Tue, 13 Mar 2018 18:50:57 +0000 Message-Id: <20180313185057.14044-1-mail@cbaines.net> X-Mailer: git-send-email 2.16.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/monitoring.scm (python-prometheus-client, python2-prometheus-client): New variables. --- gnu/packages/monitoring.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index c5a86d02c..a74a72c91 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -28,6 +28,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages admin) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages django) #:use-module (gnu packages gd) @@ -262,3 +263,34 @@ and persisting them to disk using the Whisper time-series library.") two things: store numeric time-series data, and render graphs of this data on demand.") (license license:asl2.0))) + +(define-public python-prometheus-client + (package + (name "python-prometheus-client") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "prometheus_client" version)) + (sha256 + (base32 + "164qzzg8q8awqk0angcm87p2sjiibaj1wgjz0xk6j0klvqi5q2mz")))) + (build-system python-build-system) + (arguments + '(;; No included tests. + #:tests? #f)) + (home-page + "https://github.com/prometheus/client_python") + (synopsis + "Python client for the Prometheus monitoring system.") + (description + "The @code{prometheus_client} package supports exposing metrics from +software written in Python, so that they can be scraped by a Prometheus +service. + +Metrics can be exposed through a standalone web server, or through Twisted, +WSGI and the node exporter textfile collector.") + (license license:asl2.0))) + +(define-public python2-prometheus-client + (package-with-python2 python-prometheus-client)) -- 2.16.2 From unknown Sat Jun 21 10:44:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#30802] [PATCH] gnu: Add python-prometheus-client. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Mar 2018 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30802 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 30802@debbugs.gnu.org Received: via spool by 30802-submit@debbugs.gnu.org id=B30802.152114808111707 (code B ref 30802); Thu, 15 Mar 2018 21:08:02 +0000 Received: (at 30802) by debbugs.gnu.org; 15 Mar 2018 21:08:01 +0000 Received: from localhost ([127.0.0.1]:35466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewa6S-00032l-RA for submit@debbugs.gnu.org; Thu, 15 Mar 2018 17:08:01 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:59230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewa6Q-00032d-Vs for 30802@debbugs.gnu.org; Thu, 15 Mar 2018 17:07:59 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8595912D24; Thu, 15 Mar 2018 22:07:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rfv6ZMNXHnXO; Thu, 15 Mar 2018 22:07:57 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6DC3312D21; Thu, 15 Mar 2018 22:07:57 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180313185057.14044-1-mail@cbaines.net> Date: Thu, 15 Mar 2018 22:07:56 +0100 In-Reply-To: <20180313185057.14044-1-mail@cbaines.net> (Christopher Baines's message of "Tue, 13 Mar 2018 18:50:57 +0000") Message-ID: <87lgetrqs3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi! Christopher Baines skribis: > * gnu/packages/monitoring.scm (python-prometheus-client, > python2-prometheus-client): New variables. [...] > + (synopsis > + "Python client for the Prometheus monitoring system.") No period please. :-) Otherwise LGTM, thanks! Ludo=E2=80=99. From unknown Sat Jun 21 10:44:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#30802: closed (Re: [bug#30802] [PATCH] gnu: Add python-prometheus-client.) Message-ID: References: <874llejuqg.fsf@cbaines.net> <20180313185057.14044-1-mail@cbaines.net> X-Gnu-PR-Message: they-closed 30802 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 30802@debbugs.gnu.org Date: Sat, 17 Mar 2018 20:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1521319622-2724-1" This is a multi-part message in MIME format... ------------=_1521319622-2724-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30802: [PATCH] gnu: Add python-prometheus-client. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30802@debbugs.gnu.org. --=20 30802: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30802 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1521319622-2724-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30802-done) by debbugs.gnu.org; 17 Mar 2018 20:46:36 +0000 Received: from localhost ([127.0.0.1]:38699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exIiq-0000hF-3e for submit@debbugs.gnu.org; Sat, 17 Mar 2018 16:46:36 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:39360 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exIin-0000h7-Ir for 30802-done@debbugs.gnu.org; Sat, 17 Mar 2018 16:46:33 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id DD0B013D067; Sat, 17 Mar 2018 20:46:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 9503513D064; Sat, 17 Mar 2018 20:46:32 +0000 (GMT) Received: from giedi (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0af38518; Sat, 17 Mar 2018 20:46:32 +0000 (UTC) References: <20180313185057.14044-1-mail@cbaines.net> <87lgetrqs3.fsf@gnu.org> User-agent: mu4e 1.0; emacs 25.3.1 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#30802] [PATCH] gnu: Add python-prometheus-client. In-reply-to: <87lgetrqs3.fsf@gnu.org> Date: Sat, 17 Mar 2018 20:46:31 +0000 Message-ID: <874llejuqg.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30802-done Cc: 30802-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi! > > Christopher Baines skribis: > >> * gnu/packages/monitoring.scm (python-prometheus-client, >> python2-prometheus-client): New variables. > > [...] > >> + (synopsis >> + "Python client for the Prometheus monitoring system.") > > No period please. :-) I've removed the period and pushed, thanks for taking a look :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlqtfqhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcAUQ//R3B5HCAOrgrWJIO4/N6p/crJPAk7sJ/rA8JMVDYt+8WButR10hx14UQ1 dvuD+7X7V20pECfpVnPpjl6HaQK5nA+T7kEzSuD8BBuddpUIz03Bm0QNEUVRmzxv F1XZx2orfNcNKfUnsOTy2mGKrWEjn6NauqKlvJASfga22fxvTHM4caLF/PwAiYdg 6OdEer/Z2+8TWDxFV5EvGi8NqnLu5cGcH//hi7gwYW3cK2sGYqAPg5C257hcn9sN itHmyCCrw5Yv7x5GMjvGl+qW9itkhWxWy/oAPL9NFZP0AhHkRp8Cas205jBK/X4q 7UGLfxD7kzt/Lo1Q4F30xzr2v4+DW5fMKZvZ/NRasX+oVSh2dgeTP8cO0dtPWpiI LLGDT9JPe52fOCJl2R3T5yzOodU8Tv8w+ZYZc+QvETPOpJQ/6VxG8YFEyqYqh5Y9 Dgv76SIo9/pKTh+JwGx7fp6MzjdQ94q/mW8Cv1svHYD4yPhQpYUvVgA2pKng3vHJ woInwT8ahg9CRAXzzhrNOaCy3t16k+N6e+Qds0GuY+nybDAhrGhQXqI4e3IEnhK/ 6PUkpzSNxsD1q+czQtwBGxHCD+je4oYiODH4T6lv/DftU9eIKwzHDfPcCeWpXfuw +NaBlxqaHAnLucEBH2mpxJp3kSkKOM2msxLhDKWB0wo8y8+sqbM= =v0ms -----END PGP SIGNATURE----- --=-=-=-- ------------=_1521319622-2724-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Mar 2018 18:51:15 +0000 Received: from localhost ([127.0.0.1]:59848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evp0z-0001jG-BY for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evp0y-0001j1-6X for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evp0r-0004pG-PW for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35440) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evp0r-0004pC-M8 for submit@debbugs.gnu.org; Tue, 13 Mar 2018 14:51:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evp0q-0008SL-5g for guix-patches@gnu.org; Tue, 13 Mar 2018 14:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evp0l-0004mc-8M for guix-patches@gnu.org; Tue, 13 Mar 2018 14:51:04 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:58068 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evp0l-0004m8-1k for guix-patches@gnu.org; Tue, 13 Mar 2018 14:50:59 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id 4A9F713D067; Tue, 13 Mar 2018 18:50:58 +0000 (GMT) Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E375D13D064 for ; Tue, 13 Mar 2018 18:50:57 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id b01d3a78 for ; Tue, 13 Mar 2018 18:50:57 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-prometheus-client. Date: Tue, 13 Mar 2018 18:50:57 +0000 Message-Id: <20180313185057.14044-1-mail@cbaines.net> X-Mailer: git-send-email 2.16.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) * gnu/packages/monitoring.scm (python-prometheus-client, python2-prometheus-client): New variables. --- gnu/packages/monitoring.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index c5a86d02c..a74a72c91 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -28,6 +28,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages admin) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages django) #:use-module (gnu packages gd) @@ -262,3 +263,34 @@ and persisting them to disk using the Whisper time-series library.") two things: store numeric time-series data, and render graphs of this data on demand.") (license license:asl2.0))) + +(define-public python-prometheus-client + (package + (name "python-prometheus-client") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "prometheus_client" version)) + (sha256 + (base32 + "164qzzg8q8awqk0angcm87p2sjiibaj1wgjz0xk6j0klvqi5q2mz")))) + (build-system python-build-system) + (arguments + '(;; No included tests. + #:tests? #f)) + (home-page + "https://github.com/prometheus/client_python") + (synopsis + "Python client for the Prometheus monitoring system.") + (description + "The @code{prometheus_client} package supports exposing metrics from +software written in Python, so that they can be scraped by a Prometheus +service. + +Metrics can be exposed through a standalone web server, or through Twisted, +WSGI and the node exporter textfile collector.") + (license license:asl2.0))) + +(define-public python2-prometheus-client + (package-with-python2 python-prometheus-client)) -- 2.16.2 ------------=_1521319622-2724-1--