mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
fix docs
This commit is contained in:
parent
4624d1800c
commit
f3ae3397de
2 changed files with 6 additions and 6 deletions
|
|
@ -55,12 +55,12 @@ module type S = sig
|
|||
|
||||
val add_data_to_span : span -> (string * user_data) list -> unit
|
||||
(** @since Adds data to the current span.
|
||||
NEXT_RELEASE *)
|
||||
0.4 *)
|
||||
|
||||
val add_data_to_manual_span :
|
||||
explicit_span -> (string * user_data) list -> unit
|
||||
(** Adds data to the given span.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.4 *)
|
||||
|
||||
val message : ?span:span -> data:(string * user_data) list -> string -> unit
|
||||
(** Emit a message with associated metadata. *)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ val with_span :
|
|||
val add_data_to_span : span -> (string * user_data) list -> unit
|
||||
(** Add structured data to the given active span (see {!with_span}).
|
||||
Behavior is not specified if the span has been exited.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.4 *)
|
||||
|
||||
val enter_manual_sub_span :
|
||||
parent:explicit_span ->
|
||||
|
|
@ -83,7 +83,7 @@ val exit_manual_span : explicit_span -> unit
|
|||
val add_data_to_manual_span : explicit_span -> (string * user_data) list -> unit
|
||||
(** [add_data_explicit esp data] adds [data] to the span [esp].
|
||||
The behavior is not specified is the span has been exited already.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.4 *)
|
||||
|
||||
val message :
|
||||
?span:span -> ?data:(unit -> (string * user_data) list) -> string -> unit
|
||||
|
|
@ -114,12 +114,12 @@ val counter_int :
|
|||
?data:(unit -> (string * user_data) list) -> string -> int -> unit
|
||||
(** Emit a counter of type [int]. Counters represent the evolution of some quantity
|
||||
over time.
|
||||
@param data metadata for this metric (since NEXT_RELEASE) *)
|
||||
@param data metadata for this metric (since 0.4) *)
|
||||
|
||||
val counter_float :
|
||||
?data:(unit -> (string * user_data) list) -> string -> float -> unit
|
||||
(** Emit a counter of type [float]. See {!counter_int} for more details.
|
||||
@param data metadata for this metric (since NEXT_RELEASE) *)
|
||||
@param data metadata for this metric (since 0.4) *)
|
||||
|
||||
(** {2 Collector} *)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue