This commit is contained in:
Simon Cruanes 2022-03-24 14:03:54 -04:00
parent 15511a7517
commit 2bff7897f7
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -599,13 +599,15 @@ module Trace_context = struct
The values are of the form:
{[
{version}-{trace_id}-{parent_id}-{flags}
]}
For example:
00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01
{[ 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 ]}
{flags} are currently ignored.
[{flags}] are currently ignored.
*)
let of_value str : (Trace_id.t * Span_id.t, string) result =
let ( let* ) = Result.bind in