mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-07 18:37:56 -05:00
fix span: missign checks for dummy span
This commit is contained in:
parent
7c1eb2321b
commit
20e395abf4
1 changed files with 2 additions and 2 deletions
|
|
@ -142,8 +142,8 @@ let add_links' (self : t) (links : unit -> Span_link.t list) : unit =
|
||||||
span_set_links self links
|
span_set_links self links
|
||||||
)
|
)
|
||||||
|
|
||||||
let set_status = span_set_status
|
let set_status self st = if is_not_dummy self then span_set_status self st
|
||||||
|
|
||||||
let set_kind = span_set_kind
|
let set_kind self k = if is_not_dummy self then span_set_kind self k
|
||||||
|
|
||||||
let k_ambient : t Context.key = Context.new_key ()
|
let k_ambient : t Context.key = Context.new_key ()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue