case class DatadogSpan[F[_]](names: SpanNames, ids: Ref[F, SpanIdentifiers], start: Long, queue: Queue[F, SubmittableSpan], meta: Ref[F, Map[String, TraceValue]])(implicit evidence$1: Async[F]) extends Span[F]
Models an in-progress span we'll eventually send to Datadog.
We have a trace token as well as a trace ID because Datadog mandates that trace IDs are numeric
while we interact with systems that provide non numeric trace tokens
The kernel for this span, which can be sent as headers to remote systems, which can then
continue this trace by constructing spans that are children of this one.
The kernel for this span, which can be sent as headers to remote systems, which can then
continue this trace by constructing spans that are children of this one.
A unique ID for the trace of this span, if available.
This can be useful to include in error messages for example, so you can quickly find the associated trace.
A unique ID for the trace of this span, if available.
This can be useful to include in error messages for example, so you can quickly find the associated trace.