Spandex v2.4.0 Spandex.Trace 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 proces
  • 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

Link to this type t() View Source
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 proces
  • stack: The stack of active parent spans