From 399f14547e10dab8d8c5d21b40b4129928898491 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 10 Jul 2025 14:58:55 +0100 Subject: [PATCH] gnu: Add go-github-com-grpc-ecosystem-go-grpc-prometheus. * gnu/packages/prometheus.scm (go-github-com-grpc-ecosystem-go-grpc-prometheus): New variable. Change-Id: I3b5db83ab16cc18fbb36beecfc846acbde73ceb5 --- gnu/packages/prometheus.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm index ec70d45817606182a9c1bc313c686c64f5dac658..3245567900070b87dc8a946ca00bc39c559bc315 100644 --- a/gnu/packages/prometheus.scm +++ b/gnu/packages/prometheus.scm @@ -82,6 +82,38 @@ exporting @code{OpenCensus} views as Prometheus metrics.") (license license:asl2.0))) +(define-public go-github-com-grpc-ecosystem-go-grpc-prometheus + (package + (name "go-github-com-grpc-ecosystem-go-grpc-prometheus") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/grpc-ecosystem/go-grpc-prometheus") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lzk54h7np32b3acidg1ggbn8ppbnns0m71gcg9d1qkkdh8zrijl")))) + (build-system go-build-system) + (arguments + (list + ;; Source only package, go-github-com-osrg-gobgp-v3@3.37.0 still needs + ;; it while the project is archived. Remove when no longer required. + #:skip-build? #t + #:tests? #f + #:import-path "github.com/grpc-ecosystem/go-grpc-prometheus")) + (propagated-inputs + (list go-github-com-prometheus-client-golang + go-golang-org-x-net + go-google-golang-org-grpc)) + (home-page "https://github.com/grpc-ecosystem/go-grpc-prometheus") + (synopsis "Go gRPC Interceptors for Prometheus monitoring") + (description + "This package implements a Prometheus monitoring for your +@url{https://github.com/grpc/grpc-go, gRPC Go} servers and clients.") + (license license:asl2.0))) + (define-public go-github-com-mwitkow-go-conntrack (package (name "go-github-com-mwitkow-go-conntrack")