GNU bug report logs - #31876
[PATCH] gnu: Add go-github-com-prometheus-node-exporter.

Previous Next

Package: guix-patches;

Reported by: Gábor Boskovits <boskovits <at> gmail.com>

Date: Mon, 18 Jun 2018 06:25:02 UTC

Severity: normal

Tags: patch

Done: Gábor Boskovits <boskovits <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31876 in the body.
You can then email your comments to 31876 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#31876; Package guix-patches. (Mon, 18 Jun 2018 06:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gábor Boskovits <boskovits <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 18 Jun 2018 06:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>
Subject: [PATCH] gnu: Add go-github-com-prometheus-node-exporter.
Date: Mon, 18 Jun 2018 08:24:34 +0200
* gnu/packages/monitoring.scm (go-github-com-prometheus-node-exporter):
New variable.
---
 gnu/packages/monitoring.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index bbfa4957f..db6c22a69 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -22,10 +22,12 @@
 (define-module (gnu packages monitoring)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages base)
   #:use-module (gnu packages check)
@@ -295,3 +297,27 @@ WSGI and the node exporter textfile collector.")
 
 (define-public python2-prometheus-client
   (package-with-python2 python-prometheus-client))
+
+(define-public go-github-com-prometheus-node-exporter
+  (let ((commit "55c32fcf02492fe4946f7ab563547cc5df7fc61e")
+        (revision "0"))
+    (package
+      (name "go-github-com-prometheus-node-exporter")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/prometheus/node_exporter.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "041b87a0sid23c29swqmi5hw6cxbxvkfj3415jg73cm2pi8wh5s6"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/prometheus/node_exporter"))
+      (synopsis "Prometheus exporter for hardware and OS metrics")
+      (description "Prometheus exporter for metrics exposed by *NIX kernels,
+written in Go with pluggable metric collectors.")
+      (home-page "https://github.com/prometheus/node_exporter")
+      (license license:asl2.0))))
-- 
2.17.1





Information forwarded to guix-patches <at> gnu.org:
bug#31876; Package guix-patches. (Mon, 18 Jun 2018 21:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 31876 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 31876 <at> debbugs.gnu.org
Subject: Re: [bug#31876] [PATCH] gnu: Add
 go-github-com-prometheus-node-exporter.
Date: Mon, 18 Jun 2018 23:19:21 +0200
Hi Gábor,

Gábor Boskovits <boskovits <at> gmail.com> skribis:

> * gnu/packages/monitoring.scm (go-github-com-prometheus-node-exporter):
> New variable.

Go for it!  One step closer to Prometheus?

Thanks,
Ludo’.




Reply sent to Gábor Boskovits <boskovits <at> gmail.com>:
You have taken responsibility. (Thu, 21 Jun 2018 11:55:02 GMT) Full text and rfc822 format available.

Notification sent to Gábor Boskovits <boskovits <at> gmail.com>:
bug acknowledged by developer. (Thu, 21 Jun 2018 11:55:03 GMT) Full text and rfc822 format available.

Message #13 received at 31876-done <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: 31876-done <at> debbugs.gnu.org
Subject: gnu: Add go-github-com-prometheus-node-exporter
Date: Thu, 21 Jun 2018 13:54:27 +0200
[Message part 1 (text/plain, inline)]
Pushed to master on commit 780205a04b29247dbeff6f757fbbc0a9f6e6fbe7.
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Jul 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.