From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EKUeNiPAKmKqdgEAgWs5BA (envelope-from ) for ; Fri, 11 Mar 2022 04:21:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id L1D2LiPAKmI9zQAAG6o9tA (envelope-from ) for ; Fri, 11 Mar 2022 04:21:07 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 67A40257DB for ; Fri, 11 Mar 2022 04:21:07 +0100 (CET) Received: from localhost ([::1]:47752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSVpy-0000lf-8q for larch@yhetil.org; Thu, 10 Mar 2022 22:21:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSVp1-0000D2-H7 for guix-patches@gnu.org; Thu, 10 Mar 2022 22:20:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSVoz-0000Ub-UT for guix-patches@gnu.org; Thu, 10 Mar 2022 22:20:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSVoz-0001Pl-QP for guix-patches@gnu.org; Thu, 10 Mar 2022 22:20:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54335] [PATCH 07/14] gnu: Add go-github-com-nbrownus-go-metrics-prometheus. Resent-From: Dominic Martinez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Mar 2022 03:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54335@debbugs.gnu.org Cc: Dominic Martinez Received: via spool by 54335-submit@debbugs.gnu.org id=B54335.16469687715308 (code B ref 54335); Fri, 11 Mar 2022 03:20:05 +0000 Received: (at 54335) by debbugs.gnu.org; 11 Mar 2022 03:19:31 +0000 Received: from localhost ([127.0.0.1]:36137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSVoQ-0001NX-Nf for submit@debbugs.gnu.org; Thu, 10 Mar 2022 22:19:31 -0500 Received: from mailout-pe-a.jellyfish.systems ([63.250.43.114]:55601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSVoO-0001Mr-JF for 54335@debbugs.gnu.org; Thu, 10 Mar 2022 22:19:28 -0500 Received: from NEW-01-3.privateemail.com (unknown [10.35.5.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mailout-pe-a.jellyfish.systems (Postfix) with ESMTPSA id 4KFB4C0Wzbz9sVR for <54335@debbugs.gnu.org>; Fri, 11 Mar 2022 03:19:23 +0000 (UTC) Received: from MTA-08.privateemail.com (unknown [10.50.14.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by NEW-01-3.privateemail.com (Postfix) with ESMTPS id 0BF831005882 for <54335@debbugs.gnu.org>; Thu, 10 Mar 2022 22:19:23 -0500 (EST) Received: from mta-08.privateemail.com (localhost [127.0.0.1]) by mta-08.privateemail.com (Postfix) with ESMTP id D9A6818000A1; Thu, 10 Mar 2022 22:19:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1646968762; bh=baTV8nB/f04pAdWD7CXEACZfWawDOHPOKfneT27kIY0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cpTvrF7qGJwk5MDHyy/BmtUFA58Bnd75yltENgPlK44yCJl24lYKoQ9kvAQvNzJ1w 7NL/CFtUBjeNSnNm2K1CycDAPtghTMGNbr4JvAjRzYuM2YS5RobbboKEZD7u0liAhl bz/ug1JH6BoXtQCY1dJtFDo3yYvYGVhogGf/Qs9jKb9xAe43PYxpV/shbihNAPQYVh 9OrcTH7LRdjOyNTNfIJIU7VUnqqA2xMr0dbg4SgtoRuZVlIQIaw8VJnzwanSMvoVgZ RTMb/A/HZdZ3ZGrrywcLbt+bHGHP3NvMbmDODOx+ofksw7EKtOz6s38zI6I5VKNw6J Yd6XzNfVbGL9Q== Received: from localhost.localdomain (unknown [10.20.151.169]) by mta-08.privateemail.com (Postfix) with ESMTPA id 727E218000A0; Thu, 10 Mar 2022 22:19:20 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dominicm.dev; s=default; t=1646968762; bh=baTV8nB/f04pAdWD7CXEACZfWawDOHPOKfneT27kIY0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cpTvrF7qGJwk5MDHyy/BmtUFA58Bnd75yltENgPlK44yCJl24lYKoQ9kvAQvNzJ1w 7NL/CFtUBjeNSnNm2K1CycDAPtghTMGNbr4JvAjRzYuM2YS5RobbboKEZD7u0liAhl bz/ug1JH6BoXtQCY1dJtFDo3yYvYGVhogGf/Qs9jKb9xAe43PYxpV/shbihNAPQYVh 9OrcTH7LRdjOyNTNfIJIU7VUnqqA2xMr0dbg4SgtoRuZVlIQIaw8VJnzwanSMvoVgZ RTMb/A/HZdZ3ZGrrywcLbt+bHGHP3NvMbmDODOx+ofksw7EKtOz6s38zI6I5VKNw6J Yd6XzNfVbGL9Q== From: Dominic Martinez Date: Thu, 10 Mar 2022 22:18:47 -0500 Message-Id: <20220311031849.12681-7-dom@dominicm.dev> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220311031849.12681-1-dom@dominicm.dev> References: <20220311031849.12681-1-dom@dominicm.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646968867; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ep6cZQqpBgbpgVisFWTjcKg0ppgz3yeJU5RdAjii6ac=; b=jIWivjP2T4zPg6xAIFfAsuJHE+hgfnkhzt/HIdvs1M5z7ge6m7EP3mOVCx0HvSn/yredHZ p0dgZB4jGgIPeXu2dvvdhkv95gdmIpmX42HuX713exYMyNjBlGSjFNUfORHgqDrWaDivdg mQRGSKC0+bTZUDNPyUIpqR3wKV+qqfZnisVnqPI750XrfhNlDn5YyS5+WGkO4xx0l5hcSG s2psp11hpjqiQ0VJ83Za+1EUeuOP0i2eXVBePomgGTZHXm1w3zgeg1jkH7yFJijPlI1HAv cGfbWe2NGGrGfRQeQKaAlIkdf93S91p4H77y2jeLQslZdp/rdZ5QR77t8sDIQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646968867; a=rsa-sha256; cv=none; b=RD5otITsRo/BAIBOzRQisJMcniugDjS6L7Ag0vbiycwPh34pM7DyPosrZaVw0ialai5YH7 prYP46VXipUEFDji2EcE1sVByJAcdJPQppTQXXED4VkqPFQJ8cuA33TQsvYZsCmbxpiDYA bAqMqTAcBBlNnUX4Ymwos17raVD0chvqYoWM6MGir89HSRpZGU53iAzweYpu34OMxvqMEy dz+Qs40zsqG3ZDOBBqH19zZ1SkK5GWJuqVEVJotsJMZRlerzRV/VxQywKZtQeMennQx1ii /xt7EnFCOfjSrgAIo94F8kjnptWmSgNiIsK6RB+kIcRpkN/iG/92NEFbgRamZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=cpTvrF7q; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=cpTvrF7q; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.10 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=cpTvrF7q; dkim=fail ("headers rsa verify failed") header.d=dominicm.dev header.s=default header.b=cpTvrF7q; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 67A40257DB X-Spam-Score: 1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: t28O1I+Fwt7E * gnu/packages/golang.scm (go-github-com-nbrownus-go-metrics-prometheus): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d0b5041a8b..20523d9a13 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9903,3 +9903,31 @@ (define-public go-github-com-miekg-dns The package allows complete control over what is sent out to the DNS. The API follows the less-is-more principle, by presenting a small, clean interface.") (license license:bsd-3))) + +(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")) + (native-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 + "@code{go-github-com-nbrownus-go-metrics-prometheus} is a reporter for +the go-metrics library which will post the metrics to the prometheus client +registry. It just updates the registry, taking care of exporting the metrics +is still your responsibility.") + (license license:asl2.0))) -- 2.34.0