ImagePipe.Telemetry.Trace.Context (image_pipe v0.1.0)

Copy Markdown View Source

Immutable, serializable trace context that crosses process/node/HTTP seams.

Carries the current span identity so a far-side process (or downstream service) can attach children under it. span_id becomes the child's parent_span_id.

Summary

Types

t()

@type t() :: %ImagePipe.Telemetry.Trace.Context{
  baggage: %{optional(String.t()) => String.t()},
  span_id: String.t(),
  trace_flags: non_neg_integer(),
  trace_id: String.t()
}