mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 04:17:56 -04:00
docs
This commit is contained in:
parent
c419a61815
commit
15511a7517
1 changed files with 10 additions and 10 deletions
|
|
@ -582,16 +582,16 @@ module Metrics = struct
|
|||
end
|
||||
|
||||
|
||||
(** Implementation of the W3C Trace Context spec
|
||||
|
||||
https://www.w3.org/TR/trace-context/
|
||||
*)
|
||||
module Trace_context = struct
|
||||
(** Implementation of the W3C Trace Context spec
|
||||
|
||||
https://www.w3.org/TR/trace-context/
|
||||
*)
|
||||
|
||||
(** The traceparent header
|
||||
https://www.w3.org/TR/trace-context/#traceparent-header
|
||||
*)
|
||||
module Traceparent = struct
|
||||
(** The traceparent header
|
||||
https://www.w3.org/TR/trace-context/#traceparent-header
|
||||
*)
|
||||
|
||||
let name = "traceparent"
|
||||
|
||||
|
|
@ -599,14 +599,14 @@ module Trace_context = struct
|
|||
|
||||
The values are of the form:
|
||||
|
||||
{version}-{trace_id}-{parent_id}-{flags}
|
||||
{version}-{trace_id}-{parent_id}-{flags}
|
||||
|
||||
For example:
|
||||
|
||||
00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01
|
||||
00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01
|
||||
|
||||
{flags} are currently ignored.
|
||||
*)
|
||||
*)
|
||||
let of_value str : (Trace_id.t * Span_id.t, string) result =
|
||||
let ( let* ) = Result.bind in
|
||||
let blit ~offset ~len ~or_ =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue