File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -437,10 +437,7 @@ module Span = struct
437437
438438 let to_propagation_context span =
439439 let traceparent = span |> get_context |> SpanContext. to_traceparent in
440- span
441- |> get_context
442- |> SpanContext. context_of_span_context
443- |> TraceContext. with_traceparent (Some traceparent)
440+ span |> get_trace_context |> TraceContext. with_traceparent (Some traceparent)
444441
445442 let with_trace_context span trace_context =
446443 let span_context =
Original file line number Diff line number Diff line change @@ -83,10 +83,7 @@ module Content = struct
8383 )
8484 in
8585 let tags =
86- let span_context = Span. get_context s in
87- let trace_context =
88- SpanContext. context_of_span_context span_context
89- in
86+ let trace_context = Span. get_trace_context s in
9087 let baggage =
9188 TraceContext. baggage_of trace_context |> Option. value ~default: []
9289 in
You can’t perform that action at this time.
0 commit comments