mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 20:33:36 -04:00
fix warning
This commit is contained in:
parent
19c0fac8fd
commit
8d361744ec
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ module Trace = struct
|
||||||
|
|
||||||
(** Sync span guard *)
|
(** Sync span guard *)
|
||||||
let with_ ?trace_state ?service_name ?(attrs = []) ?kind ?trace_id ?parent
|
let with_ ?trace_state ?service_name ?(attrs = []) ?kind ?trace_id ?parent
|
||||||
?scope ?links name (f : Trace.scope -> 'a Lwt.t) : 'a Lwt.t =
|
?scope ?links name (f : Scope.t -> 'a Lwt.t) : 'a Lwt.t =
|
||||||
let trace_id =
|
let trace_id =
|
||||||
match trace_id, scope with
|
match trace_id, scope with
|
||||||
| Some trace_id, _ -> trace_id
|
| Some trace_id, _ -> trace_id
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue