123456789101112131415161718192021222324252627282930313233343536373839404142(** A global collector.
The collector, if present, is responsible for collecting messages
and spans, and storing them, recording them, forward them, or
offering them to other services and processes.
*)openTypesletdummy_span:span=Int64.min_int(** Signature for a collector.
This is only relevant to implementors of tracing backends; to instrument
your code you only need to look at the {!Trace} module. *)moduletypeS=sigvalenter_span:?__FUNCTION__:string->__FILE__:string->__LINE__:int->data:(string*user_data)list->string->spanvalexit_span:span->unitvalmessage:?span:span->data:(string*user_data)list->string->unitvalname_thread:string->unit(** Give a name to the current thread *)valname_process:string->unit(** Give a name to the current process *)valcounter_int:string->int->unit(** Integer counter *)valcounter_float:string->float->unit(** Float counter *)valshutdown:unit->unit(** Shutdown collector, possibly waiting for it to finish sending data. *)end