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
440049a681
commit
92613d8526
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ end = struct
|
|||
with Invalid_argument msg -> invalid_arg (spf "in span id: %s" msg)
|
||||
in
|
||||
if Bytes.get bs 52 <> '-' then invalid_arg "expected '-' after parent_id";
|
||||
let sampled = int_of_string_opt (Bytes.sub_string bs 53 55) = Some 1 in
|
||||
let sampled = int_of_string_opt (Bytes.sub_string bs 53 2) = Some 1 in
|
||||
|
||||
(* ignore flags *)
|
||||
Ok { trace_id; parent_id; sampled }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue