emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#30802: closed ([PATCH] gnu: Add python-prometheus-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#30802: closed ([PATCH] gnu: Add python-prometheus-client.)
Date: Sat, 17 Mar 2018 20:47:02 +0000

Your message dated Sat, 17 Mar 2018 20:46:31 +0000
with message-id <address@hidden>
and subject line Re: [bug#30802] [PATCH] gnu: Add python-prometheus-client.
has caused the debbugs.gnu.org bug report #30802,
regarding [PATCH] gnu: Add python-prometheus-client.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
30802: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30802
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-prometheus-client. Date: Tue, 13 Mar 2018 18:50:57 +0000
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#30802] [PATCH] gnu: Add python-prometheus-client. Date: Sat, 17 Mar 2018 20:46:31 +0000 User-agent: mu4e 1.0; emacs 25.3.1
Ludovic Courtès <address@hidden> writes:

> Hi!
>
> Christopher Baines <address@hidden> 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 :)

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]