mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
feat lib: expose Ambient_span
This commit is contained in:
parent
0671d767d9
commit
3fdb0eebd5
2 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
(** Storing the current span in ambient context. *)
|
||||
|
||||
val get : unit -> Span.t option
|
||||
(** Find current span from ambient-context *)
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ module Span_kind = Span_kind
|
|||
(** {2 Traces} *)
|
||||
|
||||
module Span = Span
|
||||
module Ambient_span = Ambient_span
|
||||
module Tracer = Tracer
|
||||
module Trace = Tracer [@@deprecated "use Tracer instead"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue