GNU bug report logs - #71076
[PATCH 00/81] Add matrix-conduit and ruma-0.10.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Mon, 20 May 2024 08:57:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Herman Rimm <herman <at> rimm.ee>
To: 71076 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#71076] [PATCH 20/81] gnu: Add rust-opentelemetry-http-0.7.
Date: Mon, 20 May 2024 10:58:25 +0200
* gnu/packages/crates-web.scm (rust-opentelemetry-http-0.7): Add
variable.
(rust-opentelemetry-http-0.10)[description]: List some use cases.

Change-Id: I19b0f95e841a6c25ec6119c5996c65c5d52573c8
---
 gnu/packages/crates-web.scm | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 1e0e0fc54c..6629bc9327 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4532,10 +4532,37 @@ (define-public rust-opentelemetry-http-0.10
     (home-page "https://github.com/open-telemetry/opentelemetry-rust")
     (synopsis "Helpers for exchange of traces and metrics over HTTP")
     (description
-     "This package provides helper implementations for exchange of traces
-and metrics over HTTP.")
+     "This package provides helper implementations for exchange of
+traces and metrics over HTTP.  Uses include: propagating and extracting
+context over http, exporting telemetry, and requesting sampling
+strategies.")
     (license license:asl2.0)))
 
+(define-public rust-opentelemetry-http-0.7
+  (package
+    (inherit rust-opentelemetry-http-0.10)
+    (name "rust-opentelemetry-http")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "opentelemetry-http" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+          "0pc20cbs7xxqylr750303i1fd4x55icl4i8srqz1hr33sjnpkp0y"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs (list rust-async-trait-0.1
+                                rust-bytes-1
+                                rust-http-0.2
+                                rust-hyper-0.14
+                                rust-isahc-1
+                                rust-opentelemetry-api-0.18
+                                rust-reqwest-0.11
+                                rust-surf-2
+                                rust-tokio-1)))))
+
 (define-public rust-poem-1
   (package
     (name "rust-poem")
-- 
2.41.0





This bug report was last modified 1 year and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.