package opentelemetry
Module Opentelemetry.TraceSource
Traces.
See the spec
Source
val make_resource_spans :
?service_name:??? ->
?attrs:??? ->
Proto.Trace.span list ->
Proto.Trace.resource_spansSync emitter.
This instructs the collector to forward the spans to some backend at a later point.
NOTE be careful not to call this inside a Gc alarm, as it can cause deadlocks.
Source
type scope = Scope.t = {trace_id : Trace_id.t;span_id : Span_id.t;mutable events : Event.t list;mutable attrs : Span.key_value list;
}