all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#31876] [PATCH] gnu: Add go-github-com-prometheus-node-exporter.
@ 2018-06-18  6:24 Gábor Boskovits
  2018-06-18 21:19 ` Ludovic Courtès
  2018-06-21 11:54 ` bug#31876: " Gábor Boskovits
  0 siblings, 2 replies; 3+ messages in thread
From: Gábor Boskovits @ 2018-06-18  6:24 UTC (permalink / raw)
  To: 31876; +Cc: Gábor Boskovits

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#31876] [PATCH] gnu: Add go-github-com-prometheus-node-exporter.
  2018-06-18  6:24 [bug#31876] [PATCH] gnu: Add go-github-com-prometheus-node-exporter Gábor Boskovits
@ 2018-06-18 21:19 ` Ludovic Courtès
  2018-06-21 11:54 ` bug#31876: " Gábor Boskovits
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-06-18 21:19 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 31876

Hi Gábor,

Gábor Boskovits <boskovits@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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31876: gnu: Add go-github-com-prometheus-node-exporter
  2018-06-18  6:24 [bug#31876] [PATCH] gnu: Add go-github-com-prometheus-node-exporter Gábor Boskovits
  2018-06-18 21:19 ` Ludovic Courtès
@ 2018-06-21 11:54 ` Gábor Boskovits
  1 sibling, 0 replies; 3+ messages in thread
From: Gábor Boskovits @ 2018-06-21 11:54 UTC (permalink / raw)
  To: 31876-done

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

Pushed to master on commit 780205a04b29247dbeff6f757fbbc0a9f6e6fbe7.

[-- Attachment #2: Type: text/html, Size: 92 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-21 11:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18  6:24 [bug#31876] [PATCH] gnu: Add go-github-com-prometheus-node-exporter Gábor Boskovits
2018-06-18 21:19 ` Ludovic Courtès
2018-06-21 11:54 ` bug#31876: " Gábor Boskovits

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.