Spandex.Trace (Spandex v3.1.0) View Source

A representation of an ongoing trace.

  • baggage: Key-value metadata about the overall trace (propagated across distributed service)
  • id: The trace ID, which consistently refers to this trace across distributed services
  • priority: The trace sampling priority for this trace (propagated across distributed services)
  • spans: The set of completed spans for this trace from this process
  • stack: The stack of active parent spans

Link to this section Summary

Types

t()

A representation of an ongoing trace.

Link to this section Types

Specs

t() :: %Spandex.Trace{
  baggage: Keyword.t(),
  id: Spandex.id(),
  priority: integer(),
  spans: [Spandex.Span.t()],
  stack: [Spandex.Span.t()]
}

A representation of an ongoing trace.

  • baggage: Key-value metadata about the overall trace (propagated across distributed service)
  • id: The trace ID, which consistently refers to this trace across distributed services
  • priority: The trace sampling priority for this trace (propagated across distributed services)
  • spans: The set of completed spans for this trace from this process
  • stack: The stack of active parent spans