mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -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, _ =
|
let span, _ =
|
||||||
Span.create
|
Span.create
|
||||||
?kind ~trace_id ?parent ?links ~id:span_id
|
?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())
|
~start_time ~end_time:(Timestamp_ns.now_unix_ns())
|
||||||
~status
|
~status
|
||||||
name in
|
name in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue