mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-05-05 08:54:27 -04:00
compatibility with lwt 6
This commit is contained in:
parent
2c52df1fae
commit
8438a46be5
7 changed files with 18 additions and 16 deletions
17
dune-project
17
dune-project
|
|
@ -54,7 +54,8 @@
|
|||
(depopts atomic trace thread-local-storage lwt eio picos)
|
||||
(conflicts
|
||||
(trace
|
||||
(< 0.12)))
|
||||
(< 0.12))
|
||||
(lwt (< 6)))
|
||||
(tags
|
||||
(instrumentation tracing opentelemetry datadog jaeger)))
|
||||
|
||||
|
|
@ -85,9 +86,9 @@
|
|||
(cohttp-lwt-unix :with-test)
|
||||
(odoc :with-doc)
|
||||
(lwt
|
||||
(>= "5.3"))
|
||||
(>= "6"))
|
||||
(lwt_ppx
|
||||
(>= "2.0"))
|
||||
(>= "6"))
|
||||
(alcotest :with-test))
|
||||
(tags
|
||||
(instrumentation tracing opentelemetry datadog lwt)))
|
||||
|
|
@ -128,9 +129,9 @@
|
|||
(>= 0.2.3))
|
||||
ocurl
|
||||
(lwt
|
||||
(>= "5.3"))
|
||||
(>= "6"))
|
||||
(lwt_ppx
|
||||
(>= "2.0"))
|
||||
(>= "6"))
|
||||
(alcotest :with-test))
|
||||
(synopsis "Collector client for opentelemetry, using ezcurl-lwt"))
|
||||
|
||||
|
|
@ -169,7 +170,7 @@
|
|||
ambient-context-lwt
|
||||
(odoc :with-doc)
|
||||
(lwt
|
||||
(>= "5.3"))
|
||||
(>= "6"))
|
||||
(cohttp
|
||||
(>= "6.0.0"))
|
||||
(cohttp-lwt
|
||||
|
|
@ -194,9 +195,9 @@
|
|||
ambient-context-lwt
|
||||
(odoc :with-doc)
|
||||
(lwt
|
||||
(>= "5.3"))
|
||||
(>= "6"))
|
||||
(lwt_ppx
|
||||
(>= "2.0"))
|
||||
(>= "6"))
|
||||
cohttp-lwt
|
||||
cohttp-lwt-unix
|
||||
(alcotest :with-test)
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ depends: [
|
|||
"opentelemetry-lwt" {= version}
|
||||
"ambient-context-lwt"
|
||||
"odoc" {with-doc}
|
||||
"lwt" {>= "5.3"}
|
||||
"lwt_ppx" {>= "2.0"}
|
||||
"lwt" {>= "6"}
|
||||
"lwt_ppx" {>= "6"}
|
||||
"cohttp-lwt"
|
||||
"cohttp-lwt-unix"
|
||||
"alcotest" {with-test}
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@ depends: [
|
|||
"odoc" {with-doc}
|
||||
"ezcurl-lwt" {>= "0.2.3"}
|
||||
"ocurl"
|
||||
"lwt" {>= "5.3"}
|
||||
"lwt_ppx" {>= "2.0"}
|
||||
"lwt" {>= "6"}
|
||||
"lwt_ppx" {>= "6"}
|
||||
"alcotest" {with-test}
|
||||
]
|
||||
build: [
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ depends: [
|
|||
"opentelemetry-lwt" {= version}
|
||||
"ambient-context-lwt"
|
||||
"odoc" {with-doc}
|
||||
"lwt" {>= "5.3"}
|
||||
"lwt" {>= "6"}
|
||||
"cohttp" {>= "6.0.0"}
|
||||
"cohttp-lwt" {>= "6.0.0"}
|
||||
"alcotest" {with-test}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ depends: [
|
|||
"ambient-context-lwt"
|
||||
"cohttp-lwt-unix" {with-test}
|
||||
"odoc" {with-doc}
|
||||
"lwt" {>= "5.3"}
|
||||
"lwt_ppx" {>= "2.0"}
|
||||
"lwt" {>= "6"}
|
||||
"lwt_ppx" {>= "6"}
|
||||
"alcotest" {with-test}
|
||||
]
|
||||
build: [
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ depends: [
|
|||
depopts: ["atomic" "trace" "thread-local-storage" "lwt" "eio" "picos"]
|
||||
conflicts: [
|
||||
"trace" {< "0.12"}
|
||||
"lwt" {< "6"}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {dev}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ module IO = Io_lwt
|
|||
type t = {
|
||||
notified: bool Atomic.t;
|
||||
cond: unit Lwt_condition.t;
|
||||
notification: int;
|
||||
notification: Lwt_unix.notification;
|
||||
lwt_tid: int; (** thread ID where lwt runs *)
|
||||
deleted: bool Atomic.t;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue