mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
debug
This commit is contained in:
parent
f8269ed1c8
commit
3b6e239c17
1 changed files with 6 additions and 1 deletions
|
|
@ -129,7 +129,12 @@ let setup ?config ?(enable = true) () = if enable then setup_ ?config ()
|
||||||
|
|
||||||
let remove_exporter () : unit Lwt.t =
|
let remove_exporter () : unit Lwt.t =
|
||||||
let done_fut, done_u = Lwt.wait () in
|
let done_fut, done_u = Lwt.wait () in
|
||||||
Main_exporter.remove ~on_done:(fun () -> Lwt.wakeup_later done_u ()) ();
|
(* Printf.eprintf "otel.client.cohttp-lwt: removing…\n%!"; *)
|
||||||
|
Main_exporter.remove
|
||||||
|
~on_done:(fun () ->
|
||||||
|
(* Printf.eprintf "otel.client.cohttp-lwt: done removing\n%!"; *)
|
||||||
|
Lwt.wakeup_later done_u ())
|
||||||
|
();
|
||||||
done_fut
|
done_fut
|
||||||
|
|
||||||
let remove_backend = remove_exporter
|
let remove_backend = remove_exporter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue