This commit is contained in:
Matt Bray 2022-03-22 20:29:54 +00:00
parent 81b22aabca
commit 84c9bdba35

View file

@ -23,7 +23,7 @@ let run () =
let i = ref 0 in
while true do
let@ scope =
T.Trace.with_ ~trace_id:scope.trace_id ~parent:scope.span_id
T.Trace.with_
~kind:T.Span.Span_kind_producer
"loop.outer" ~attrs:["i", `Int !i] in