From 9bc70863c44a1d4431b5b74ccef1555c74340314 Mon Sep 17 00:00:00 2001 From: Gabriel Buica Date: Wed, 15 Jan 2025 09:50:03 +0000 Subject: [PATCH] fixup! CP-52744: Thread `TraceContext` as json inside debug_info --- dune-project | 2 ++ xapi-tracing.opam | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dune-project b/dune-project index 651c039bc22..2a672e0a841 100644 --- a/dune-project +++ b/dune-project @@ -103,11 +103,13 @@ dune (alcotest :with-test) (fmt :with-test) + ppx_deriving_yojson re uri (uuid :with-test) (xapi-log (= :version)) (xapi-stdext-threads (= :version)) + yojson ) (synopsis "Allows to instrument code to generate tracing information") (description "This library provides modules to allow gathering runtime traces.") diff --git a/xapi-tracing.opam b/xapi-tracing.opam index b9cac8ba0dd..f5c0df48bfe 100644 --- a/xapi-tracing.opam +++ b/xapi-tracing.opam @@ -13,11 +13,13 @@ depends: [ "dune" {>= "3.15"} "alcotest" {with-test} "fmt" {with-test} + "ppx_deriving_yojson" "re" "uri" "uuid" {with-test} "xapi-log" {= version} "xapi-stdext-threads" {= version} + "yojson" "odoc" {with-doc} ] build: [