| Package | Description |
|---|---|
| io.opentracing |
| Modifier and Type | Method and Description |
|---|---|
Tracer.SpanBuilder |
Tracer.buildSpan(String operationName)
Create, start, and return a new Span with the given `operationName`.
|
<T> Tracer.SpanBuilder |
Tracer.join(T carrier)
Returns a SpanBuilder provided
a “carrier” object from which to extract identifying information needed by the new Span instance.
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.withOperationName(String operationName)
Specify the operationName.
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.withParent(Span parent)
Specify the parent span
If the parent has already been set an IllegalStateException will be thrown.
|
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
Span.setTag(String, String), but for the span being built. |
Tracer.SpanBuilder |
Tracer.SpanBuilder.withTag(String key,
Number value)
Same as
Span.setTag(String, String), but for the span being built. |
Tracer.SpanBuilder |
Tracer.SpanBuilder.withTag(String key,
String value)
Same as
Span.setTag(String, String), but for the span being built. |
Copyright © 2016 OpenTracing. All rights reserved.