-
- All Implemented Interfaces:
-
com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context
public class OtelExtractedContext implements AgentSpan.Context
-
-
Method Summary
Modifier and Type Method Description DDTraceIdgetTraceId()longgetSpanId()static AgentSpan.Contextextract(Context context, InternalLogger logger)AgentTracegetTrace()intgetSamplingPriority()Iterable<Map.Entry<String, String>>baggageItems()PathwayContextgetPathwayContext()-
Methods inherited from class com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context
baggageItems, getPathwayContext, getSamplingPriority, getSpanId, getTrace, getTraceId, mergePathwayContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTraceId
DDTraceId getTraceId()
-
getSpanId
long getSpanId()
-
extract
static AgentSpan.Context extract(Context context, InternalLogger logger)
-
getTrace
AgentTrace getTrace()
-
getSamplingPriority
int getSamplingPriority()
-
baggageItems
Iterable<Map.Entry<String, String>> baggageItems()
-
getPathwayContext
PathwayContext getPathwayContext()
-
-
-
-