| 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 |
ClientSpanThreadBinder.getCurrentClientSpan() |
Deprecated.
This should be called in the thread in which the client request made after starting new client span.
|
Span |
InheritableServerClientAndLocalSpanState.getCurrentClientSpan() |
Deprecated.
|
Span |
ThreadLocalServerClientAndLocalSpanState.getCurrentClientSpan() |
Gets the Span for the client request that was started as part of current request.
|
Span |
InheritableServerClientAndLocalSpanState.getCurrentLocalSpan() |
Deprecated.
|
Span |
LocalSpanState.getCurrentLocalSpan() |
Deprecated.
Gets the Span for the local request that was started as part of current request.
|
Span |
LocalSpanThreadBinder.getCurrentLocalSpan() |
Deprecated.
This should be called in the thread in which the local request made after starting new local
span.
|
Span |
ThreadLocalServerClientAndLocalSpanState.getCurrentLocalSpan() |
|
abstract Span |
ServerSpan.getSpan() |
Deprecated.
Gets the Trace/Span context.
|
Span |
SpanAndEndpoint.ClientSpanAndEndpoint.span() |
Deprecated.
Gets the span to which to add annotations.
|
Span |
SpanAndEndpoint.LocalSpanAndEndpoint.span() |
Deprecated.
|
Span |
SpanAndEndpoint.ServerSpanAndEndpoint.span() |
Deprecated.
Gets the span to which to add annotations.
|
Span |
SpanAndEndpoint.span() |
Deprecated.
Gets the span to which to add annotations.
|
static Span |
TracerAdapter.toSpan(TraceContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
EmptySpanCollector.collect(Span span) |
Deprecated.
Collect span.
|
void |
FlushingSpanCollector.collect(Span span) |
Deprecated.
Queues the span for collection, or drops it if the queue is full.
|
void |
LoggingSpanCollector.collect(Span span) |
Deprecated.
Collect span.
|
void |
SpanCollector.collect(Span span) |
Deprecated.
Collect span.
|
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 |
ClientSpanThreadBinder.setCurrentSpan(Span span) |
Deprecated.
Binds given span to current thread.
|
void |
LocalSpanThreadBinder.setCurrentSpan(Span span) |
Deprecated.
Binds given span to current thread.
|
static Span |
TracerAdapter.toSpan(Tracer tracer,
Span span) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
AbstractSpanCollector.reportSpans(java.util.List<Span> drained) |
Deprecated.
|
protected abstract void |
FlushingSpanCollector.reportSpans(java.util.List<Span> drained) |
Deprecated.
Reports a list of spans over the current transport.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Span |
DefaultSpanCodec.fromZipkin(zipkin.Span in) |
|
Span |
DefaultSpanCodec.readSpan(byte[] bytes) |
|
abstract Span |
InternalSpan.toSpan(SpanId context) |
| 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 zipkin.Span |
DefaultSpanCodec.toZipkin(Span span) |
|
byte[] |
DefaultSpanCodec.writeSpan(Span span) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
DefaultSpanCodec.writeSpans(java.util.List<Span> spans) |
| Modifier and Type | Method | Description |
|---|---|---|
Span |
Span.addToAnnotations(Annotation elem) |
Deprecated.
|
Span |
Span.addToBinary_annotations(BinaryAnnotation elem) |
Deprecated.
|
Span |
SpanCodec.readSpan(byte[] bytes) |
throws IllegalArgumentException if the span couldn't be decoded
|
Span |
Span.setAnnotations(java.util.List<Annotation> annotations) |
Deprecated.
|
Span |
Span.setBinaryAnnotations(java.util.List<BinaryAnnotation> binary_annotations) |
Deprecated.
|
Span |
Span.setDebug(java.lang.Boolean debug) |
Deprecated.
do not modify the context of a span once created
|
Span |
Span.setDuration(java.lang.Long duration) |
Deprecated.
Measurement of duration in microseconds, used to support queries.
|
Span |
Span.setId(long id) |
Deprecated.
do not modify the context of a span once created
|
Span |
Span.setName(java.lang.String name) |
Deprecated.
Span name in lowercase, rpc method for example
Conventionally, when the span name isn't known, name = "unknown".
|
Span |
Span.setParent_id(java.lang.Long parent_id) |
Deprecated.
do not modify the context of a span once created
|
Span |
Span.setShared() |
Deprecated.
|
Span |
Span.setTimestamp(java.lang.Long timestamp) |
Deprecated.
Microseconds from epoch of the creation of this span.
|
Span |
Span.setTrace_id(long trace_id) |
Deprecated.
do not modify the context of a span once created
|
Span |
Span.setTrace_id_high(long trace_id_high) |
Deprecated.
do not modify the context of a span once created
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
SpanCodec.writeSpan(Span span) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
SpanCodec.writeSpans(java.util.List<Span> spans) |
Copyright © 2018 OpenZipkin. All rights reserved.