Spandex v2.4.0 Spandex.SpanContext View Source

From the OpenTracing specification:

Each SpanContext encapsulates the following state:

  • Any OpenTracing-implementation-dependent state (for example, trace and span ids) needed to refer to a distinct Span across a process boundary
  • Baggage Items, which are just key:value pairs that cross process boundaries

Link to this section Summary

Types

t()

From the [OpenTracing specification]:

Each SpanContext encapsulates the following state:

  • Any OpenTracing-implementation-dependent state (for example, trace and span ids) needed to refer to a distinct Span across a process boundary
  • Baggage Items, which are just key:value pairs that cross process boundaries

Link to this section Types

Link to this type t() View Source
t() :: %Spandex.SpanContext{
  baggage: Keyword.t(),
  parent_id: Spandex.id(),
  priority: integer(),
  trace_id: Spandex.id()
}

From the OpenTracing specification:

Each SpanContext encapsulates the following state:

  • Any OpenTracing-implementation-dependent state (for example, trace and span ids) needed to refer to a distinct Span across a process boundary
  • Baggage Items, which are just key:value pairs that cross process boundaries