diff --git a/dune-project b/dune-project index 2c8f2b55..c7d242e6 100644 --- a/dune-project +++ b/dune-project @@ -30,6 +30,14 @@ ambient-context (odoc :with-doc) (alcotest :with-test) + (opentelemetry-client-cohttp-lwt + (and + :with-test + (= :version))) + (opentelemetry-client-ocurl + (and + :with-test + (= :version))) (pbrt (>= 2.3)) (ocaml-lsp-server :with-dev-setup) @@ -61,7 +69,16 @@ (lwt (>= "5.3")) (lwt_ppx - (>= "2.0"))) + (>= "2.0")) + (alcotest :with-test) + (opentelemetry-client-cohttp-lwt + (and + :with-test + (= :version))) + (opentelemetry-client-ocurl + (and + :with-test + (= :version)))) (tags (instrumentation tracing opentelemetry datadog lwt))) @@ -81,7 +98,12 @@ (odoc :with-doc) (ezcurl (>= 0.2.3)) - ocurl) + ocurl + (alcotest :with-test) + (opentelemetry-client-cohttp-lwt + (and + :with-test + (= :version)))) (synopsis "Collector client for opentelemetry, using http + ezcurl")) (package @@ -97,7 +119,16 @@ (lwt (>= "5.3")) (cohttp-lwt - (>= "4.0.0"))) + (>= "4.0.0")) + (alcotest :with-test) + (opentelemetry-client-cohttp-lwt + (and + :with-test + (= :version))) + (opentelemetry-client-ocurl + (and + :with-test + (= :version)))) (synopsis "Opentelemetry tracing for Cohttp HTTP servers")) (package @@ -118,5 +149,10 @@ (lwt_ppx (>= "2.0")) cohttp-lwt - cohttp-lwt-unix) + cohttp-lwt-unix + (alcotest :with-test) + (opentelemetry-client-ocurl + (and + :with-test + (= :version)))) (synopsis "Collector client for opentelemetry, using cohttp + lwt")) diff --git a/opentelemetry-client-cohttp-lwt.opam b/opentelemetry-client-cohttp-lwt.opam index 634ab161..93b11939 100644 --- a/opentelemetry-client-cohttp-lwt.opam +++ b/opentelemetry-client-cohttp-lwt.opam @@ -22,6 +22,8 @@ depends: [ "lwt_ppx" {>= "2.0"} "cohttp-lwt" "cohttp-lwt-unix" + "alcotest" {with-test} + "opentelemetry-client-ocurl" {with-test & = version} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry-client-ocurl.opam b/opentelemetry-client-ocurl.opam index d0ee4fbc..0a32fc67 100644 --- a/opentelemetry-client-ocurl.opam +++ b/opentelemetry-client-ocurl.opam @@ -20,6 +20,8 @@ depends: [ "odoc" {with-doc} "ezcurl" {>= "0.2.3"} "ocurl" + "alcotest" {with-test} + "opentelemetry-client-cohttp-lwt" {with-test & = version} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry-cohttp-lwt.opam b/opentelemetry-cohttp-lwt.opam index bfd7e822..94ec245d 100644 --- a/opentelemetry-cohttp-lwt.opam +++ b/opentelemetry-cohttp-lwt.opam @@ -19,6 +19,9 @@ depends: [ "odoc" {with-doc} "lwt" {>= "5.3"} "cohttp-lwt" {>= "4.0.0"} + "alcotest" {with-test} + "opentelemetry-client-cohttp-lwt" {with-test & = version} + "opentelemetry-client-ocurl" {with-test & = version} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry-lwt.opam b/opentelemetry-lwt.opam index 0c02234c..ff13e0d6 100644 --- a/opentelemetry-lwt.opam +++ b/opentelemetry-lwt.opam @@ -21,6 +21,9 @@ depends: [ "odoc" {with-doc} "lwt" {>= "5.3"} "lwt_ppx" {>= "2.0"} + "alcotest" {with-test} + "opentelemetry-client-cohttp-lwt" {with-test & = version} + "opentelemetry-client-ocurl" {with-test & = version} ] build: [ ["dune" "subst"] {dev} diff --git a/opentelemetry.opam b/opentelemetry.opam index cf4a98f3..cfc11eeb 100644 --- a/opentelemetry.opam +++ b/opentelemetry.opam @@ -19,6 +19,8 @@ depends: [ "ambient-context" "odoc" {with-doc} "alcotest" {with-test} + "opentelemetry-client-cohttp-lwt" {with-test & = version} + "opentelemetry-client-ocurl" {with-test & = version} "pbrt" {>= "2.3"} "ocaml-lsp-server" {with-dev-setup} "ocamlformat" {with-dev-setup & >= "0.24" & < "0.25"}