Package | Description |
---|---|
org.cloudera.htrace | |
org.cloudera.htrace.impl | |
org.cloudera.htrace.wrappers | |
org.cloudera.htrace.zipkin |
Modifier and Type | Method and Description |
---|---|
Span |
Span.child(String description)
Create a child span of this span with the given description
|
protected Span |
Tracer.createNew(String description) |
static Span |
Trace.currentSpan()
If we are tracing, return the current span, else null
|
protected Span |
Tracer.currentSpan() |
Span |
TraceScope.detach()
Remove this span as the current thread, but don't stop it yet or
send it for collection.
|
Span |
TraceScope.getSpan() |
protected Span |
Tracer.setCurrentSpan(Span span) |
Modifier and Type | Method and Description |
---|---|
Collection<Span> |
TraceTree.getRoots() |
Collection<Span> |
TraceTree.getSpans() |
com.google.common.collect.Multimap<Long,Span> |
TraceTree.getSpansByParentIdMap() |
com.google.common.collect.Multimap<String,Span> |
TraceTree.getSpansByPidMap() |
Modifier and Type | Method and Description |
---|---|
static TraceScope |
Trace.continueSpan(Span s)
Pick up an existing span from another thread.
|
TraceScope |
Tracer.continueSpan(Span s) |
void |
Tracer.deliver(Span span) |
static TraceInfo |
TraceInfo.fromSpan(Span s) |
void |
SpanReceiver.receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
protected Span |
Tracer.setCurrentSpan(Span span) |
static TraceScope |
Trace.startSpan(String description,
Span parent)
Starts and returns a new span as the child of the parameter 'parent'.
|
Constructor and Description |
---|
TraceTree(Collection<Span> spans)
Create a new TraceTree
|
Modifier and Type | Class and Description |
---|---|
class |
MilliSpan
A Span implementation that stores its information in milliseconds since the
epoch.
|
Modifier and Type | Method and Description |
---|---|
Span |
MilliSpan.child(String description) |
Modifier and Type | Method and Description |
---|---|
Collection<Span> |
POJOSpanReceiver.getSpans() |
Modifier and Type | Method and Description |
---|---|
void |
ZipkinSpanReceiver.receiveSpan(Span span) |
void |
StandardOutSpanReceiver.receiveSpan(Span span) |
void |
POJOSpanReceiver.receiveSpan(Span span) |
void |
LocalFileSpanReceiver.receiveSpan(Span span) |
Constructor and Description |
---|
TraceCallable(Span parent,
Callable<V> impl) |
TraceCallable(Span parent,
Callable<V> impl,
String description) |
TraceRunnable(Span parent,
Runnable runnable) |
TraceRunnable(Span parent,
Runnable runnable,
String description) |
Modifier and Type | Method and Description |
---|---|
Span |
HTraceToZipkinConverter.convert(Span hTraceSpan)
Converts a given HTrace span to a Zipkin Span.
|
Copyright © 2014. All rights reserved.