| Package | Description |
|---|---|
| com.github.kristofa.brave | |
| com.github.kristofa.brave.internal | |
| com.twitter.zipkin.gen |
| Modifier and Type | Method | Description |
|---|---|---|
Span |
ClientSpanState.getCurrentClientSpan() |
Deprecated.
Gets the Span for the client request that was started as part of current request.
|
Span |
InheritableServerClientAndLocalSpanState.getCurrentClientSpan() |
Deprecated.
|
Span |
ThreadLocalServerClientAndLocalSpanState.getCurrentClientSpan() |
Gets the Span for the client request that was started as part of current request.
|
Span |
LocalSpanState.getCurrentLocalSpan() |
Deprecated.
Gets the Span for the local request that was started as part of current request.
|
Span |
ThreadLocalServerClientAndLocalSpanState.getCurrentLocalSpan() |
|
ServerSpan |
ServerSpanState.getCurrentServerSpan() |
Deprecated.
Gets the Span for the server request we are currently part of.
|
ServerSpan |
ServerSpanThreadBinder.getCurrentServerSpan() |
Deprecated.
This should be called in the thread in which the request was received before executing code in new threads.
|
java.lang.Long |
SpanId.getParentSpanId() |
Deprecated.
|
abstract java.lang.Boolean |
ServerSpan.getSample() |
Deprecated.
Indicates if we need to sample this request or not.
|
abstract java.lang.Boolean |
TraceData.getSample() |
Deprecated.
Returns the upstream sampling decision or null to make one here.
|
static Span |
TracerAdapter.getServerSpan(Tracer tracer,
ServerSpanThreadBinder threadBinder) |
Returns a span representing the sampled status of the current server span or null if there's no
span attached to the current thread.
|
abstract Span |
ServerSpan.getSpan() |
Deprecated.
Gets the Trace/Span context.
|
abstract SpanId |
TraceData.getSpanId() |
Deprecated.
Returns span attributes propagated from the caller or null, if none were sent.
|
java.lang.Long |
SpanId.nullableParentId() |
Deprecated.
Returns null when this is a root span.
|
java.lang.Boolean |
CommonSpanState.sample() |
Deprecated.
alias for the sampled flag on
ServerSpanState.getCurrentServerSpan(). |
java.lang.Boolean |
ThreadLocalServerClientAndLocalSpanState.sample() |
|
java.lang.Boolean |
SpanId.sampled() |
Deprecated.
Should we sample this request or not? True means sample, false means don't, null means we defer
decision to someone further down in the stack.
|
Endpoint |
ClientRequestAdapter.serverAddress() |
Deprecated.
Provides the remote server address information for additional tracking.
|
Span |
SpanAndEndpoint.span() |
Deprecated.
Gets the span to which to add annotations.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ClientRequestAdapter.addSpanIdToRequest(SpanId spanId) |
Deprecated.
Enrich the request with the Spanid so we pass the state to the
service we are calling.
|
static SpanId |
SpanId.create(long traceId,
long spanId,
java.lang.Long parentSpanId) |
Deprecated.
Please use
SpanId.Builder |
SpanId.Builder |
SpanId.Builder.parentId(java.lang.Long parentId) |
If your trace ids are not span ids, you must call this method to indicate absent parent.
|
TraceData.Builder |
TraceData.Builder.sample(java.lang.Boolean sample) |
Deprecated.
|
SpanId.Builder |
SpanId.Builder.sampled(java.lang.Boolean sampled) |
|
void |
ClientTracer.setClientSent(int ipv4,
int port,
java.lang.String serviceName) |
Deprecated.
|
void |
ClientSpanState.setCurrentClientSpan(Span span) |
Deprecated.
Sets current client span.
|
void |
InheritableServerClientAndLocalSpanState.setCurrentClientSpan(Span span) |
Deprecated.
|
void |
ThreadLocalServerClientAndLocalSpanState.setCurrentClientSpan(Span span) |
Sets current client span.
|
void |
InheritableServerClientAndLocalSpanState.setCurrentLocalSpan(Span span) |
Deprecated.
Sets the specified local span as the active span at the top of the
stack, or if the specified span is null, the top of the stack is popped.
|
void |
LocalSpanState.setCurrentLocalSpan(Span span) |
Deprecated.
Sets current local span.
|
void |
ThreadLocalServerClientAndLocalSpanState.setCurrentLocalSpan(Span span) |
|
void |
InheritableServerClientAndLocalSpanState.setCurrentServerSpan(ServerSpan span) |
Deprecated.
|
void |
ServerSpanState.setCurrentServerSpan(ServerSpan span) |
Deprecated.
Set span for current request.
|
void |
ThreadLocalServerClientAndLocalSpanState.setCurrentServerSpan(ServerSpan span) |
Set span for current request.
|
void |
ServerTracer.setServerReceived(int ipv4,
int port,
java.lang.String clientService) |
Deprecated.
|
void |
ServerTracer.setStateCurrentTrace(long traceId,
long spanId,
java.lang.Long parentSpanId,
java.lang.String name) |
Deprecated.
since 3.15 use
ServerTracer.setStateCurrentTrace(SpanId, String) |
TraceData.Builder |
TraceData.Builder.spanId(SpanId spanId) |
Deprecated.
|
SpanId |
ClientTracer.startNewSpan(java.lang.String requestName) |
Deprecated.
Start a new span for a new client request that will be bound to current thread.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract SpanId |
InternalSpan.context(Span span) |
In normal course, this returns the context of a span created by one of the tracers.
|
static byte[] |
InetAddresses.ipStringToBytes(java.lang.String ipString) |
Returns the
InetAddress.getAddress() having the given string representation or null if
unable to parse. |
protected byte[] |
MaybeAddClientAddress.ipStringToBytes(java.lang.String ipString) |
Returns the
InetAddress.getAddress() having the given string representation or null if
unable to parse. |
| Modifier and Type | Field | Description |
|---|---|---|
byte[] |
Endpoint.ipv6 |
IPv6 host address packed into 16 bytes or null if unknown.
|
java.lang.Short |
Endpoint.port |
Port of the IP's socket or null, if not known.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Annotation |
Annotation.create(long timestamp,
java.lang.String value,
Endpoint endpoint) |
|
static BinaryAnnotation |
BinaryAnnotation.create(java.lang.String key,
byte[] value,
AnnotationType type,
Endpoint endpoint) |
|
static BinaryAnnotation |
BinaryAnnotation.create(java.lang.String key,
java.lang.String value,
Endpoint endpoint) |
String values are the only queryable type of binary annotation.
|
Copyright © 2018 OpenZipkin. All rights reserved.