Tapper v0.6.0 Tapper.Tracer.Trace View Source
Tracer internal state, and functions to convert this to protocol spans (Tapper.Protocol.Span)
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: trace()
t() :: trace()
Link to this type
trace()
View Source
trace()
View Source
trace() :: %Tapper.Tracer.Trace{
async: nil | true,
config: map(),
debug: boolean(),
end_timestamp: Tapper.Timestamp.t(),
last_activity: Tapper.Timestamp.t(),
parent_id: Tapper.SpanId.t() | :root,
sample: boolean(),
span_id: Tapper.SpanId.t(),
spans: %{required(Tapper.SpanId.t()) => Tapper.Tracer.Trace.SpanInfo.t()},
timestamp: Tapper.Timestamp.t(),
trace_id: Tapper.TraceId.t(),
ttl: integer()
}
trace() :: %Tapper.Tracer.Trace{
async: nil | true,
config: map(),
debug: boolean(),
end_timestamp: Tapper.Timestamp.t(),
last_activity: Tapper.Timestamp.t(),
parent_id: Tapper.SpanId.t() | :root,
sample: boolean(),
span_id: Tapper.SpanId.t(),
spans: %{required(Tapper.SpanId.t()) => Tapper.Tracer.Trace.SpanInfo.t()},
timestamp: Tapper.Timestamp.t(),
trace_id: Tapper.TraceId.t(),
ttl: integer()
}
Tracer state: the state of a single trace session.