~ruther/guix-local

9dc500b359f350107d4a19156082f5b8c7dcda45 — Arthur Rodrigues 7 months ago a94fd53
gnu: Add go-github-com-prometheus-otlptranslator.

* gnu/packages/prometheus.scm (go-github-com-prometheus-otlptranslator): New variable.

Change-Id: Ib7d84bae39da3d6b8c75e1e4024a92de3e499e8a
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/prometheus.scm
M gnu/packages/prometheus.scm => gnu/packages/prometheus.scm +26 -0
@@ 593,6 593,32 @@ Protocol,ICMP} echo (ping) functionality.")
     "This package provides tooling to build Prometheus exporters")
    (license license:asl2.0)))

(define-public go-github-com-prometheus-otlptranslator
  (package
    (name "go-github-com-prometheus-otlptranslator")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/prometheus/otlptranslator")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1naca6ima2bzf6yhb2w9favqx644c0q1y16jlb2na7s4bgr3107p"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/prometheus/otlptranslator"))
    (home-page "https://github.com/prometheus/otlptranslator")
    (synopsis "OTLP Prometheus Translator")
    (description
     "This package provides a functionality to convert
@url{https://opentelemetry.io/docs/specs/otlp/, OTLP} metric and attribute
names to @url{https://prometheus.io/, Prometheus-compliant} formats.  This is
an internal library for both Prometheus and Open Telemetry,")
    (license license:asl2.0)))

(define-public go-github-com-prometheus-procfs
  (package
    (name "go-github-com-prometheus-procfs")