Opentelemetry.ScopeScopes.
A scope is a trace ID and the span ID of the currently active span.
val links : t -> Span_link.t listval make :
trace_id:Trace_id.t ->
span_id:Span_id.t ->
?events:Event.t list ->
?attrs:key_value list ->
?links:Span_link.t list ->
unit ->
tval to_span_ctx : t -> Span_ctx.tval record_exception : t -> exn -> Stdlib.Printexc.raw_backtrace -> unitval add_links : t -> (unit -> Span_link.t list) -> unitval ambient_scope_key : t {Ambient_context}2.keyval with_ambient_scope : t -> (unit -> 'a) -> 'a