Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Opentelemetry.Trace end
val emit :
?service_name:string ->
?attrs:
(string * [< `Bool of bool | `Int of int | `None | `String of string ])
list ->
span list ->
unit
val add_event : scope -> (unit -> Opentelemetry.Event.t) -> unit
val add_attrs : scope -> (unit -> Opentelemetry.Span.key_value list) -> unit
val with_ :
?trace_state:string ->
?service_name:string ->
?attrs:Opentelemetry.Span.key_value list ->
?kind:Span.kind ->
?trace_id:Trace_id.t ->
?parent:Span.id ->
?scope:scope ->
?links:(Opentelemetry.Trace_id.t * Opentelemetry.Span_id.t * string) list ->
string ->
(Opentelemetry.Trace.scope -> 'a Lwt.t) ->
'a Lwt.t
Sync span guard