| Package | Description |
|---|---|
| com.github.kristofa.brave | |
| com.twitter.zipkin.gen |
| Modifier and Type | Method and Description |
|---|---|
Span |
ThreadLocalServerClientAndLocalSpanState.getCurrentClientSpan()
Gets the Span for the client request that was started as part of current request.
|
Span |
ClientSpanThreadBinder.getCurrentClientSpan()
This should be called in the thread in which the client request made after starting new client span.
|
Span |
ClientSpanState.getCurrentClientSpan()
Gets the Span for the client request that was started as part of current request.
|
Span |
ThreadLocalServerClientAndLocalSpanState.getCurrentLocalSpan() |
Span |
LocalSpanState.getCurrentLocalSpan()
Gets the Span for the local request that was started as part of current request.
|
abstract Span |
ServerSpan.getSpan()
Gets the Trace/Span context.
|
Span |
SpanAndEndpoint.span()
Gets the span to which to add annotations.
|
Span |
SpanAndEndpoint.ServerSpanAndEndpoint.span()
Gets the span to which to add annotations.
|
Span |
SpanAndEndpoint.ClientSpanAndEndpoint.span()
Gets the span to which to add annotations.
|
Span |
SpanAndEndpoint.LocalSpanAndEndpoint.span() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpanCollector.collect(Span span)
Collect span.
|
void |
LoggingSpanCollector.collect(Span span)
Collect span.
|
void |
EmptySpanCollector.collect(Span span)
Collect span.
|
void |
ThreadLocalServerClientAndLocalSpanState.setCurrentClientSpan(Span span)
Sets current client span.
|
void |
ClientSpanState.setCurrentClientSpan(Span span)
Sets current client span.
|
void |
ThreadLocalServerClientAndLocalSpanState.setCurrentLocalSpan(Span span) |
void |
LocalSpanState.setCurrentLocalSpan(Span span)
Sets current local span.
|
void |
ClientSpanThreadBinder.setCurrentSpan(Span span)
Binds given span to current thread.
|
| Modifier and Type | Method and Description |
|---|---|
Span |
Span.deepCopy() |
Span |
Span.setAnnotations(List<Annotation> annotations) |
Span |
Span.setBinary_annotations(List<BinaryAnnotation> binary_annotations) |
Span |
Span.setDebug(boolean debug) |
Span |
Span.setDuration(long duration)
Measurement of duration in microseconds, used to support queries.
|
Span |
Span.setId(long id) |
Span |
Span.setName(String name)
Span name in lowercase, rpc method for example
Conventionally, when the span name isn't known, name = "unknown".
|
Span |
Span.setParent_id(long parent_id) |
Span |
Span.setTimestamp(long timestamp)
Microseconds from epoch of the creation of this span.
|
Span |
Span.setTrace_id(long trace_id) |
| Modifier and Type | Method and Description |
|---|---|
int |
Span.compareTo(Span other) |
boolean |
Span.equals(Span that) |
| Constructor and Description |
|---|
Span(Span other)
Performs a deep copy on other.
|
Copyright © 2015. All rights reserved.