mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-10 04:35:46 -04:00
doc
This commit is contained in:
parent
15511a7517
commit
2bff7897f7
1 changed files with 4 additions and 2 deletions
|
|
@ -599,13 +599,15 @@ module Trace_context = struct
|
||||||
|
|
||||||
The values are of the form:
|
The values are of the form:
|
||||||
|
|
||||||
|
{[
|
||||||
{version}-{trace_id}-{parent_id}-{flags}
|
{version}-{trace_id}-{parent_id}-{flags}
|
||||||
|
]}
|
||||||
|
|
||||||
For example:
|
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 of_value str : (Trace_id.t * Span_id.t, string) result =
|
||||||
let ( let* ) = Result.bind in
|
let ( let* ) = Result.bind in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue