Package 

Class DDSpanContext

  • All Implemented Interfaces:
    com.datadog.trace.api.gateway.RequestContext , com.datadog.trace.api.internal.TraceSegment , com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context , com.datadog.trace.bootstrap.instrumentation.api.ProfilerContext , java.io.Closeable , java.lang.AutoCloseable

    
    public class DDSpanContext
     implements AgentSpan.Context, RequestContext, TraceSegment, ProfilerContext
                        

    SpanContext represents Span state that must propagate to descendant Spans and across process boundaries.

    SpanContext is logically divided into two pieces: (1) the user-level "Baggage" that propagates across Span boundaries and (2) any Datadog fields that are needed to identify or contextualize the associated Span instance