-
- All Implemented Interfaces:
-
com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.SpanBuilder
public class CoreTracer.CoreSpanBuilder implements AgentTracer.SpanBuilder
Spans are built using this builder
-
-
Method Summary
Modifier and Type Method Description CoreTracer.CoreSpanBuilderignoreActiveSpan()AgentSpanstart()CoreTracer.CoreSpanBuilderwithTag(String tag, Number number)CoreTracer.CoreSpanBuilderwithTag(String tag, String string)CoreTracer.CoreSpanBuilderwithTag(String tag, boolean bool)CoreTracer.CoreSpanBuilderwithStartTimestamp(long timestampMicroseconds)CoreTracer.CoreSpanBuilderwithServiceName(String serviceName)CoreTracer.CoreSpanBuilderwithResourceName(String resourceName)CoreTracer.CoreSpanBuilderwithErrorFlag()CoreTracer.CoreSpanBuilderwithSpanType(CharSequence spanType)CoreTracer.CoreSpanBuilderasChildOf(AgentSpan.Context spanContext)CoreTracer.CoreSpanBuilderasChildOf(AgentSpan agentSpan)CoreTracer.CoreSpanBuilderwithTag(String tag, Object value)<T> AgentTracer.SpanBuilderwithRequestContextData(RequestContextSlot slot, T data)AgentTracer.SpanBuilderwithLink(AgentSpanLink link)-
Methods inherited from class com.datadog.trace.bootstrap.instrumentation.api.AgentTracer.SpanBuilder
asChildOf, ignoreActiveSpan, withErrorFlag, withResourceName, withServiceName, withSpanType, withStartTimestamp, withTag, withTag, withTag, withTag -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ignoreActiveSpan
CoreTracer.CoreSpanBuilder ignoreActiveSpan()
-
withTag
CoreTracer.CoreSpanBuilder withTag(String tag, Number number)
-
withTag
CoreTracer.CoreSpanBuilder withTag(String tag, String string)
-
withTag
CoreTracer.CoreSpanBuilder withTag(String tag, boolean bool)
-
withStartTimestamp
CoreTracer.CoreSpanBuilder withStartTimestamp(long timestampMicroseconds)
-
withServiceName
CoreTracer.CoreSpanBuilder withServiceName(String serviceName)
-
withResourceName
CoreTracer.CoreSpanBuilder withResourceName(String resourceName)
-
withErrorFlag
CoreTracer.CoreSpanBuilder withErrorFlag()
-
withSpanType
CoreTracer.CoreSpanBuilder withSpanType(CharSequence spanType)
-
asChildOf
CoreTracer.CoreSpanBuilder asChildOf(AgentSpan.Context spanContext)
-
asChildOf
CoreTracer.CoreSpanBuilder asChildOf(AgentSpan agentSpan)
-
withTag
CoreTracer.CoreSpanBuilder withTag(String tag, Object value)
-
withRequestContextData
<T> AgentTracer.SpanBuilder withRequestContextData(RequestContextSlot slot, T data)
-
withLink
AgentTracer.SpanBuilder withLink(AgentSpanLink link)
-
-
-
-