This commit is contained in:
Simon Cruanes 2023-07-31 23:13:57 -04:00
parent f8cd53ec89
commit f414acbfb4
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -21,21 +21,26 @@ module type S = sig
data:(string * user_data) list ->
string ->
span
(** Enter a new span. *)
val exit_span : span -> unit
(** Exit given span. It can't be exited again. Spans must follow
a strict stack discipline on each thread. *)
val message : ?span:span -> data:(string * user_data) list -> string -> unit
(** Emit a message with associated metadata. *)
val name_thread : string -> unit
(** Give a name to the current thread *)
(** Give a name to the current thread. *)
val name_process : string -> unit
(** Give a name to the current process *)
(** Give a name to the current process. *)
val counter_int : string -> int -> unit
(** Integer counter *)
(** Integer counter. *)
val counter_float : string -> float -> unit
(** Float counter *)
(** Float counter. *)
val shutdown : unit -> unit
(** Shutdown collector, possibly waiting for it to finish sending data. *)