mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
fix
This commit is contained in:
parent
479f1f39c8
commit
7d40554025
1 changed files with 2 additions and 2 deletions
|
|
@ -750,7 +750,7 @@ module Trace = struct
|
|||
|
||||
let add_attrs = Scope.add_attrs [@@deprecated "use Scope.add_attrs"]
|
||||
|
||||
let with_ ?(force_new_trace_id = false) ?trace_state ?service_name
|
||||
let with_' ?(force_new_trace_id = false) ?trace_state ?service_name
|
||||
?(attrs : (string * [< value ]) list = []) ?kind ?trace_id ?parent ?scope
|
||||
?links name cb =
|
||||
let scope =
|
||||
|
|
@ -825,7 +825,7 @@ module Trace = struct
|
|||
let with_ ?force_new_trace_id ?trace_state ?service_name ?attrs ?kind
|
||||
?trace_id ?parent ?scope ?links name (cb : Scope.t -> 'a) : 'a =
|
||||
let thunk, finally =
|
||||
with_ ?force_new_trace_id ?trace_state ?service_name ?attrs ?kind
|
||||
with_' ?force_new_trace_id ?trace_state ?service_name ?attrs ?kind
|
||||
?trace_id ?parent ?scope ?links name cb
|
||||
in
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue