| Package | Description |
|---|---|
| com.github.kristofa.brave | |
| com.github.kristofa.brave.internal |
| Modifier and Type | Method | Description |
|---|---|---|
SpanId |
SpanId.Builder.build() |
|
static SpanId |
SpanId.create(long traceId,
long spanId,
java.lang.Long parentSpanId) |
Deprecated.
Please use
SpanId.Builder |
static SpanId |
SpanId.fromBytes(byte[] bytes) |
Deprecated.
Deserializes this from a big-endian byte array
|
abstract SpanId |
TraceData.getSpanId() |
Deprecated.
Returns span attributes propagated from the caller or null, if none were sent.
|
SpanId |
ClientTracer.startNewSpan(java.lang.String requestName) |
Deprecated.
Start a new span for a new client request that will be bound to current thread.
|
SpanId |
LocalTracer.startNewSpan(java.lang.String component,
java.lang.String operation) |
Deprecated.
Request a new local span, which starts now.
|
SpanId |
LocalTracer.startNewSpan(java.lang.String component,
java.lang.String operation,
long timestamp) |
Deprecated.
Request a new local span, which started at the given timestamp.
|
| 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 TraceData |
TraceData.create(SpanId spanId) |
Deprecated.
|
void |
ServerTracer.setStateCurrentTrace(SpanId context,
java.lang.String spanName) |
Deprecated.
Sets the current Trace/Span state.
|
TraceData.Builder |
TraceData.Builder.spanId(SpanId spanId) |
Deprecated.
|
static Span |
TracerAdapter.toSpan(Tracer tracer,
SpanId spanId) |
|
static TraceContext |
TracerAdapter.toTraceContext(SpanId spanId) |
| 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract Span |
InternalSpan.toSpan(SpanId context) |
Copyright © 2018 OpenZipkin. All rights reserved.