Skip to content

Commit

Permalink
Add events to spans created
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbt200128 committed Sep 19, 2024
1 parent c372c45 commit a263b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trace/opentelemetry_trace.ml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module Internal = struct

let parent_id = Option.map Otel.Span_ctx.parent_id parent in
Span.create ~kind ~trace_id:scope.trace_id ?parent:parent_id
~id:scope.span_id ~start_time ~end_time ~attrs name
~id:scope.span_id ~start_time ~end_time ~attrs ~events:scope.events name
|> fst

let exit_span' otrace_id otel_span_begin =
Expand Down

0 comments on commit a263b40

Please sign in to comment.