| Package | Description |
|---|---|
| io.opentracing |
| Modifier and Type | Method and Description |
|---|---|
Tracer.SpanBuilder |
Tracer.SpanBuilder.addReference(String referenceType,
SpanContext referencedContext)
Add a reference from the Span being built to a distinct (usually parent) Span.
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.asChildOf(BaseSpan<?> parent)
A shorthand for addReference(References.CHILD_OF, parent.context()).
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.asChildOf(SpanContext parent)
A shorthand for addReference(References.CHILD_OF, parent).
|
Tracer.SpanBuilder |
Tracer.buildSpan(String operationName)
Return a new SpanBuilder for a Span with the given `operationName`.
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.ignoreActiveSpan()
Do not create an implicit
References.CHILD_OF reference to the ActiveSpanSource.activeSpan()). |
Tracer.SpanBuilder |
Tracer.SpanBuilder.withStartTimestamp(long microseconds)
Specify a timestamp of when the Span was started, represented in microseconds since epoch.
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.withTag(String key,
boolean value)
Same as
BaseSpan.setTag(String, boolean), but for the span being built. |
Tracer.SpanBuilder |
Tracer.SpanBuilder.withTag(String key,
Number value)
Same as
BaseSpan.setTag(String, Number), but for the span being built. |
Tracer.SpanBuilder |
Tracer.SpanBuilder.withTag(String key,
String value)
Same as
BaseSpan.setTag(String, String), but for the span being built. |
Copyright © 2016–2017 OpenTracing. All rights reserved.