Module Opentelemetry_core.Trace_context

Implementation of the W3C Trace Context spec

https://www.w3.org/TR/trace-context/

module Traceparent : sig ... end

The traceparent header https://www.w3.org/TR/trace-context/#traceparent-header

module Tracestate : sig ... end

The tracestate header, and the OpenTelemetry ot=th:<hex> threshold https://www.w3.org/TR/trace-context/#tracestate-header https://opentelemetry.io/docs/specs/otel/trace/tracestate-probability-sampling/

val headers_of_span_ctx : Span_ctx.t -> (string * string) list

Headers to propagate this context: traceparent, and tracestate if non-empty.

  • since 0.92