require trace 0.7

This commit is contained in:
Simon Cruanes 2024-03-21 17:26:53 -04:00
parent 715578c374
commit 7d50a0bb53
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 3 additions and 6 deletions

View file

@ -41,10 +41,7 @@
(< 0.25))))
(depopts trace)
(conflicts
(trace
(or
(< 0.4)
(>= 0.7))))
(trace (< 0.7)))
(tags
(instrumentation tracing opentelemetry datadog jaeger)))

View file

@ -26,7 +26,7 @@ depends: [
]
depopts: ["trace"]
conflicts: [
"trace" {< "0.4" | >= "0.7"}
"trace" {< "0.7"}
]
build: [
["dune" "subst"] {dev}

View file

@ -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. *)