TraceGuard.Propagation.Token (trace_guard v0.1.0)

Copy Markdown View Source

Internal. The opaque value TraceGuard.wrap/1 and TraceGuard.call/3 carry into other processes: a trace ID, the trace's collector pid and an :atomics budget reference. Never construct or inspect it.

Summary

Types

t()

@type t() :: %TraceGuard.Propagation.Token{
  collector: pid(),
  counter: :atomics.atomics_ref(),
  trace_id: String.t()
}