mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
fix(lwt): add events to span from scope
This commit is contained in:
parent
e2e2c4baac
commit
d982dafa60
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ module Trace = struct
|
|||
let span, _ =
|
||||
Span.create
|
||||
?kind ~trace_id ?parent ?links ~id:span_id
|
||||
?trace_state ?attrs
|
||||
?trace_state ?attrs ~events:scope.events
|
||||
~start_time ~end_time:(Timestamp_ns.now_unix_ns())
|
||||
~status
|
||||
name in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue