brave.propagation.TraceContext@Deprecated
public abstract class ServerSpan
extends java.lang.Object
ServerTracer and keeps track of Trace/Span state of our service request.| Modifier and Type | Field | Description |
|---|---|---|
static ServerSpan |
EMPTY |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.lang.Boolean |
getSample() |
Deprecated.
Indicates if we need to sample this request or not.
|
abstract Span |
getSpan() |
Deprecated.
Gets the Trace/Span context.
|
public static final ServerSpan EMPTY
@Nullable public abstract Span getSpan()
null in case we did not get any context in request.@Nullable public abstract java.lang.Boolean getSample()
true in case we should sample this request, false in case we should not sample this
request or null in case we did not get any indication about sampling this request. In this case
new client requests should decide about sampling or not.Copyright © 2018 OpenZipkin. All rights reserved.