-
- All Implemented Interfaces:
-
com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context,com.datadog.trace.bootstrap.instrumentation.api.AgentSpan.Context.Extracted
public final class AgentTracer.NoopContext implements AgentSpan.Context.Extracted
-
-
Field Summary
Fields Modifier and Type Field Description public final static AgentTracer.NoopContextINSTANCE
-
Method Summary
Modifier and Type Method Description DDTraceIdgetTraceId()Gets the TraceId of the span's trace. longgetSpanId()Gets the SpanId. AgentTracegetTrace()Get the span's trace. intgetSamplingPriority()Gets the trace sampling priority of the span's trace. Iterable<Map.Entry<String, String>>baggageItems()PathwayContextgetPathwayContext()List<AgentSpanLink>getTerminatedContextLinks()Gets the span links related to the other terminated context. StringgetForwarded()StringgetFastlyClientIp()StringgetCfConnectingIp()StringgetCfConnectingIpv6()StringgetXForwardedProto()StringgetXForwardedHost()StringgetXForwardedPort()StringgetForwardedFor()StringgetXForwarded()StringgetXForwardedFor()StringgetXClusterClientIp()StringgetXRealIp()StringgetXClientIp()StringgetUserAgent()StringgetTrueClientIp()StringgetCustomIpHeader()-
-
Method Detail
-
getTraceId
DDTraceId getTraceId()
Gets the TraceId of the span's trace.
-
getSpanId
long getSpanId()
Gets the SpanId.
-
getTrace
AgentTrace getTrace()
Get the span's trace.
-
getSamplingPriority
int getSamplingPriority()
Gets the trace sampling priority of the span's trace.
Check PrioritySampling for possible values.
-
baggageItems
Iterable<Map.Entry<String, String>> baggageItems()
-
getPathwayContext
PathwayContext getPathwayContext()
-
getTerminatedContextLinks
List<AgentSpanLink> getTerminatedContextLinks()
Gets the span links related to the other terminated context.
-
getForwarded
String getForwarded()
-
getFastlyClientIp
String getFastlyClientIp()
-
getCfConnectingIp
String getCfConnectingIp()
-
getCfConnectingIpv6
String getCfConnectingIpv6()
-
getXForwardedProto
String getXForwardedProto()
-
getXForwardedHost
String getXForwardedHost()
-
getXForwardedPort
String getXForwardedPort()
-
getForwardedFor
String getForwardedFor()
-
getXForwarded
String getXForwarded()
-
getXForwardedFor
String getXForwardedFor()
-
getXClusterClientIp
String getXClusterClientIp()
-
getXRealIp
String getXRealIp()
-
getXClientIp
String getXClientIp()
-
getUserAgent
String getUserAgent()
-
getTrueClientIp
String getTrueClientIp()
-
getCustomIpHeader
String getCustomIpHeader()
-
-
-
-