| Modifier and Type | Method and Description |
|---|---|
Span |
Span.SpanBuilder.build() |
Span |
Tracer.close(Span span)
Remove this span from the current thread, stop it and send it for collection.
|
protected Span |
TraceRunnable.continueSpan(Span span) |
Span |
Tracer.continueSpan(Span span)
Contributes to a span started in another thread.
|
protected Span |
TraceCallable.continueSpan(Span span) |
Span |
Tracer.createSpan(String name)
Creates a new Span.
|
Span |
Tracer.createSpan(String name,
Sampler sampler)
Start a new span if the sampler allows it or if we are already tracing in this
thread.
|
Span |
Tracer.createSpan(String name,
Span parent)
Creates a new Span with a specific parent.
|
Span |
Tracer.detach(Span span)
Remove this span from the current thread, but don't stop it yet or send it for
collection.
|
protected Span |
TraceRunnable.detachSpan(Span span) |
protected Span |
TraceCallable.detachSpan(Span span) |
Span |
SpanAccessor.getCurrentSpan() |
Span |
TraceRunnable.getParent() |
Span |
TraceCallable.getParent() |
Span |
Span.getSavedSpan()
Returns the saved span.
|
Span |
SpanExtractor.joinTrace(T carrier)
Returns a SpanBuilder provided a “carrier” object from which to extract identifying
information needed by the new Span instance.
|
Span |
Span.setBaggageItem(String key,
String value)
Sets a baggage item in the Span (and its SpanContext) as a key/value pair.
|
protected Span |
TraceRunnable.startSpan() |
protected Span |
TraceCallable.startSpan() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TraceRunnable.close(Span span) |
Span |
Tracer.close(Span span)
Remove this span from the current thread, stop it and send it for collection.
|
protected void |
TraceCallable.close(Span span) |
protected Span |
TraceRunnable.continueSpan(Span span) |
Span |
Tracer.continueSpan(Span span)
Contributes to a span started in another thread.
|
protected Span |
TraceCallable.continueSpan(Span span) |
Span |
Tracer.createSpan(String name,
Span parent)
Creates a new Span with a specific parent.
|
Span |
Tracer.detach(Span span)
Remove this span from the current thread, but don't stop it yet or send it for
collection.
|
protected Span |
TraceRunnable.detachSpan(Span span) |
protected Span |
TraceCallable.detachSpan(Span span) |
void |
SpanInjector.inject(Span span,
T carrier)
Takes two arguments:
a Span instance, and
a “carrier” object in which to inject that Span for cross-process propagation.
|
boolean |
Sampler.isSampled(Span span) |
void |
SpanReporter.report(Span span)
Reports a completed span out of band, usually out of process.
|
void |
NoOpSpanReporter.report(Span span) |
Span.SpanBuilder |
Span.SpanBuilder.savedSpan(Span savedSpan) |
| Constructor and Description |
|---|
Span(long begin,
long end,
String name,
long traceId,
List<Long> parents,
long spanId,
boolean remote,
boolean exportable,
String processId,
Span savedSpan)
Deprecated.
please use
Span.SpanBuilder |
Span(Span current,
Span savedSpan)
Creates a new span that still tracks tags and logs of the current span.
|
| Modifier and Type | Method and Description |
|---|---|
Span |
SpanCreator.createSpan(org.aopalliance.intercept.MethodInvocation methodInvocation,
NewSpan newSpan)
|
| Modifier and Type | Method and Description |
|---|---|
protected Span |
TraceContinuingCallable.startSpan()
Deprecated.
|
protected Span |
SpanContinuingTraceRunnable.startSpan() |
protected Span |
SpanContinuingTraceCallable.startSpan() |
protected Span |
LocalComponentTraceRunnable.startSpan() |
protected Span |
LocalComponentTraceCallable.startSpan() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TraceContinuingCallable.close(Span span)
Deprecated.
|
protected void |
SpanContinuingTraceRunnable.close(Span span) |
protected void |
SpanContinuingTraceCallable.close(Span span) |
| Modifier and Type | Method and Description |
|---|---|
Span |
HeaderBasedMessagingExtractor.joinTrace(SpanTextMap textMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
HeaderBasedMessagingInjector.inject(Span span,
SpanTextMap carrier) |
| Modifier and Type | Method and Description |
|---|---|
Span |
ZipkinHttpSpanExtractor.joinTrace(SpanTextMap textMap) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TraceFilter.addRequestTags(Span span,
javax.servlet.http.HttpServletRequest request)
Override to add annotations not defined in
TraceKeys. |
void |
HttpTraceKeysInjector.addRequestTags(Span span,
String url,
String host,
String path,
String method)
Adds tags from the HTTP request to the given Span
|
void |
HttpTraceKeysInjector.addRequestTags(Span span,
URI uri,
String method)
Adds tags from the HTTP request to the given Span
|
void |
ZipkinHttpSpanInjector.inject(Span span,
SpanTextMap carrier) |
void |
HttpTraceKeysInjector.tagSpan(Span span,
String key,
String value)
Add a tag to the given, exportable Span
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpanLogger.logContinuedSpan(Span span)
Logic to run when a Span gets continued
|
void |
Slf4jSpanLogger.logContinuedSpan(Span span) |
void |
NoOpSpanLogger.logContinuedSpan(Span span) |
void |
SpanLogger.logStartedSpan(Span parent,
Span span)
Logic to run when a Span gets started
|
void |
Slf4jSpanLogger.logStartedSpan(Span parent,
Span span) |
void |
NoOpSpanLogger.logStartedSpan(Span parent,
Span span) |
void |
SpanLogger.logStoppedSpan(Span parent,
Span span)
Logic to run when a Span gets stopped (closed or detached)
|
void |
Slf4jSpanLogger.logStoppedSpan(Span parent,
Span span) |
void |
NoOpSpanLogger.logStoppedSpan(Span parent,
Span span) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PercentageBasedSampler.isSampled(Span currentSpan) |
boolean |
NeverSampler.isSampled(Span span) |
boolean |
IsTracingSampler.isSampled(Span span) |
boolean |
AlwaysSampler.isSampled(Span span) |
| Modifier and Type | Method and Description |
|---|---|
Span |
DefaultTracer.close(Span span) |
Span |
DefaultTracer.continueSpan(Span span) |
Span |
DefaultTracer.createSpan(String name) |
Span |
DefaultTracer.createSpan(String name,
Sampler sampler) |
Span |
DefaultTracer.createSpan(String name,
Span parent) |
Span |
DefaultTracer.detach(Span span) |
Span |
DefaultTracer.getCurrentSpan() |
| Modifier and Type | Method and Description |
|---|---|
Span |
DefaultTracer.close(Span span) |
Span |
DefaultTracer.continueSpan(Span span) |
Span |
DefaultTracer.createSpan(String name,
Span parent) |
Span |
DefaultTracer.detach(Span span) |
| Modifier and Type | Method and Description |
|---|---|
List<Span> |
ArrayListSpanAccumulator.getSpans() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArrayListSpanAccumulator.report(Span span) |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.