Opentelemetry.TraceTraces.
See the spec
type span = Span.tval emit : span list -> unitSync emitter
val with_ :
?trace_state:string ->
?service_name:string ->
?attrs:Span.key_value list ->
?kind:Span.kind ->
?trace_id:Trace_id.t ->
?parent:Span.id ->
?links:(Trace_id.t * Span_id.t * string) list ->
string ->
( (Trace_id.t * Span_id.t) -> 'a ) ->
'aSync span guard