ocaml-opentelemetry/src/client-ocurl/common_.ml
Simon Cruanes 6f96d5271a
feat client-ocurl: use common batch and queue; remove layer of queueing
now we modify batches on the fly when we send signals; but there
still is a thread pool to send signals via HTTP.
2026-01-20 00:15:10 -05:00

8 lines
179 B
OCaml

module Atomic = Opentelemetry_atomic.Atomic
module Proto = Opentelemetry_proto
let spf = Printf.sprintf
let ( let@ ) = ( @@ )
let[@inline] tid () = Thread.id @@ Thread.self ()