mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
debug
This commit is contained in:
parent
6ddfe1715a
commit
f5a13a1248
1 changed files with 1 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ let wrap_emitter (self : _ t) (e : _ Emitter.t) : _ Emitter.t =
|
|||
|
||||
let emit l =
|
||||
if l <> [] && not (Atomic.get closed_here) then (
|
||||
(* Printf.eprintf "otel.batch.add %d items\n%!" (List.length l); *)
|
||||
push' self l;
|
||||
|
||||
(* we only check for size here, not for timeout. The [tick] function is
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue