guix-commits
[Top][All Lists]
Advanced

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

05/14: gnu: Add go-github-com-nbrownus-go-metrics-prometheus.


From: guix-commits
Subject: 05/14: gnu: Add go-github-com-nbrownus-go-metrics-prometheus.
Date: Mon, 12 Feb 2024 18:38:46 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 7e4aebc39bf53162027dc5b4f679aa44f89752b7
Author: Dominic Martinez <dom@dominicm.dev>
AuthorDate: Sun Feb 11 19:28:20 2024 +0100

    gnu: Add go-github-com-nbrownus-go-metrics-prometheus.
    
    * gnu/packages/golang-xyz.scm 
(go-github-com-nbrownus-go-metrics-prometheus): New
    variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
    Change-Id: I1fbaa3a54c761bbdb440ca211d76f6c43b4434ce
---
 gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7964b0b5e2..aa3df0a152 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -296,6 +296,32 @@ presenting a small interface.")
 very fast, and tries to be entropy pool friendly.")
     (license license:asl2.0)))
 
+(define-public go-github-com-nbrownus-go-metrics-prometheus
+  (package
+    (name "go-github-com-nbrownus-go-metrics-prometheus")
+    (version "0.0.0-20210712211119-974a6260965f")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/nbrownus/go-metrics-prometheus";)
+               (commit (go-version->git-ref version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "1kl9l08aas544627zmhkgp843qx94sxs4inxm20nw1hx7gp79dz0"))))
+    (build-system go-build-system)
+    (arguments '(#:import-path "github.com/nbrownus/go-metrics-prometheus"))
+    (propagated-inputs
+     (list go-github-com-stretchr-testify
+           go-github-com-rcrowley-go-metrics
+           go-github-com-prometheus-client-golang))
+    (home-page "https://github.com/nbrownus/go-metrics-prometheus";)
+    (synopsis "Prometheus support for go-metrics")
+    (description "This package provides a reporter for the @code{go-metrics}
+library which posts the metrics to the Prometheus client registry and just
+updates the registry.")
+    (license license:asl2.0)))
+
 (define-public go-go-uber-org-automaxprocs
   (package
     (name "go-go-uber-org-automaxprocs")



reply via email to

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