Compare commits

..

No commits in common. "main" and "v0.12" have entirely different histories.
main ... v0.12

2 changed files with 2 additions and 9 deletions

View file

@ -1,9 +1,7 @@
(** Main type definitions *)
type span = ..
(** A span. Its representation is defined by the current collector.
This representation changed in 0.11 (from [int64] to an open sum type) *)
(** A span. Its representation is defined by the current collector. *)
(** Information about a span's parent span, if any.
@since 0.11 *)

View file

@ -1,9 +1,7 @@
(** use [thread-local-storage] to store ambient spans.
This doesn't work with cooperative concurrency (Eio, Lwt, etc) but is fine
in a threaded context.
@since 0.12 *)
in a threaded context. *)
open Trace_core
@ -11,9 +9,6 @@ val k_span : span Thread_local_storage.t
(** Key to access the current span *)
val provider : Ambient_span_provider.t
(** Provider that uses [Thread_local_storage] to store the current ambient span.
This works well when concurrency is based on thread, or if there is no
concurrency. *)
val setup : unit -> unit
(** Install the provider *)