Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 31, 2025
1 parent 440049a commit 92613d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/opentelemetry.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@tatchi

tatchi Jan 31, 2025

Contributor

Oops, silly mistake 🙈


(* ignore flags *)
Ok { trace_id; parent_id; sampled }
Expand Down

0 comments on commit 92613d8

Please sign in to comment.