mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
forgot to update tags
This commit is contained in:
parent
3d3cf8c02c
commit
21de8b1f4b
3 changed files with 7 additions and 7 deletions
|
|
@ -19,7 +19,7 @@ val create_backend :
|
|||
unit ->
|
||||
(module Opentelemetry.Collector.BACKEND)
|
||||
(** Create a new backend using lwt and cohttp
|
||||
@param after_cleanup if provided, this is resolved into [()] after cleanup is done (since NEXT_RELEASE) *)
|
||||
@param after_cleanup if provided, this is resolved into [()] after cleanup is done (since 0.11) *)
|
||||
|
||||
val setup :
|
||||
?stop:bool Atomic.t -> ?config:Config.t -> ?enable:bool -> unit -> unit
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ module Collector = struct
|
|||
Atomic.set backend (Some b)
|
||||
|
||||
(** Remove current backend, if any.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.11 *)
|
||||
let remove_backend () : unit =
|
||||
match Atomic.exchange backend None with
|
||||
| None -> ()
|
||||
|
|
@ -845,7 +845,7 @@ end = struct
|
|||
let make ~message ~code = { message; code }
|
||||
end
|
||||
|
||||
(** @since NEXT_RELEASE *)
|
||||
(** @since 0.11 *)
|
||||
module Span_kind : sig
|
||||
open Proto.Trace
|
||||
|
||||
|
|
@ -942,7 +942,7 @@ module Scope : sig
|
|||
|
||||
val set_kind : t -> Span_kind.t -> unit
|
||||
(** Set the span's kind.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.11 *)
|
||||
|
||||
val ambient_scope_key : t Ambient_context.key
|
||||
(** The opaque key necessary to access/set the ambient scope with
|
||||
|
|
|
|||
|
|
@ -50,16 +50,16 @@ val collector : unit -> Trace_core.collector
|
|||
|
||||
val link_spans : Otrace.explicit_span -> Otrace.explicit_span -> unit
|
||||
(** [link_spans sp1 sp2] modifies [sp1] by adding a span link to [sp2].
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.11 *)
|
||||
|
||||
val set_span_kind : Otrace.explicit_span -> Otel.Span.kind -> unit
|
||||
(** [set_span_kind sp k] sets the span's kind.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.11 *)
|
||||
|
||||
val record_exception :
|
||||
Otrace.explicit_span -> exn -> Printexc.raw_backtrace -> unit
|
||||
(** Record exception in the current span.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.11 *)
|
||||
|
||||
(** Static references for well-known identifiers; see {!label-wellknown}. *)
|
||||
module Well_known : sig
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue