diff --git a/dune-project b/dune-project index 7f3b0d62..925ed8d1 100644 --- a/dune-project +++ b/dune-project @@ -41,10 +41,7 @@ (< 0.25)))) (depopts trace) (conflicts - (trace - (or - (< 0.4) - (>= 0.7)))) + (trace (< 0.7))) (tags (instrumentation tracing opentelemetry datadog jaeger))) diff --git a/opentelemetry.opam b/opentelemetry.opam index 0c19d367..dbb1edfc 100644 --- a/opentelemetry.opam +++ b/opentelemetry.opam @@ -26,7 +26,7 @@ depends: [ ] depopts: ["trace"] conflicts: [ - "trace" {< "0.4" | >= "0.7"} + "trace" {< "0.7"} ] build: [ ["dune" "subst"] {dev} diff --git a/src/trace/opentelemetry_trace.ml b/src/trace/opentelemetry_trace.ml index 90edcda6..2960e36e 100644 --- a/src/trace/opentelemetry_trace.ml +++ b/src/trace/opentelemetry_trace.ml @@ -66,7 +66,7 @@ module Internal = struct end) (** key to access a OTEL scope from an explicit span *) - let k_explicit_scope : Otel.Scope.t Otrace.Meta_map.Key.t = + let k_explicit_scope : Otel.Scope.t Otrace.Meta_map.key = Otrace.Meta_map.Key.create () (** Per-thread set of active spans. *)