-
- All Implemented Interfaces:
-
com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context,com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context.Extracted
public class ExtractedContext extends TagContext
Propagated data resulting from calling tracer.extract with header data from an incoming request.
-
-
Field Summary
Fields Modifier and Type Field Description private final DDTraceIdtraceIdprivate final longspanIdprivate final longendToEndStartTimeprivate final PropagationTagspropagationTags
-
Constructor Summary
Constructors Constructor Description ExtractedContext(DDTraceId traceId, long spanId, int samplingPriority, CharSequence origin, PropagationTags propagationTags, TracePropagationStyle propagationStyle)ExtractedContext(DDTraceId traceId, long spanId, int samplingPriority, CharSequence origin, long endToEndStartTime, Map<String, String> baggage, Map<String, String> tags, TagContext.HttpHeaders httpHeaders, PropagationTags propagationTags, TraceConfig traceConfig, TracePropagationStyle propagationStyle)
-
Method Summary
Modifier and Type Method Description final DDTraceIdgetTraceId()Gets the TraceId of the span's trace. final longgetSpanId()Gets the SpanId. final longgetEndToEndStartTime()PropagationTagsgetPropagationTags()StringtoString()-
Methods inherited from class com.datadog.trace.bootstrap.instrumentation.api.TagContext
addTerminatedContextLink, baggageItems, getBaggage, getCfConnectingIp, getCfConnectingIpv6, getCiVisibilityContextData, getCustomIpHeader, getFastlyClientIp, getForwarded, getForwardedFor, getOrigin, getPathwayContext, getPropagationStyle, getRequestContextDataAppSec, getRequestContextDataIast, getSamplingPriority, getTags, getTerminatedContextLinks, getTrace, getTraceConfig, getTrueClientIp, getUserAgent, getXClientIp, getXClusterClientIp, getXForwarded, getXForwardedFor, getXForwardedHost, getXForwardedPort, getXForwardedProto, getXRealIp, withCiVisibilityContextData, withPathwayContext, withRequestContextDataAppSec, withRequestContextDataIast -
Methods inherited from class com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context
mergePathwayContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ExtractedContext
ExtractedContext(DDTraceId traceId, long spanId, int samplingPriority, CharSequence origin, PropagationTags propagationTags, TracePropagationStyle propagationStyle)
-
ExtractedContext
ExtractedContext(DDTraceId traceId, long spanId, int samplingPriority, CharSequence origin, long endToEndStartTime, Map<String, String> baggage, Map<String, String> tags, TagContext.HttpHeaders httpHeaders, PropagationTags propagationTags, TraceConfig traceConfig, TracePropagationStyle propagationStyle)
-
-
Method Detail
-
getTraceId
final DDTraceId getTraceId()
Gets the TraceId of the span's trace.
-
getSpanId
final long getSpanId()
Gets the SpanId.
-
getEndToEndStartTime
final long getEndToEndStartTime()
-
getPropagationTags
PropagationTags getPropagationTags()
-
-
-
-