Package | Description |
---|---|
io.honeycomb.beeline.tracing | |
io.honeycomb.beeline.tracing.context |
Modifier and Type | Method | Description |
---|---|---|
TracerSpan |
Tracer.getActiveSpan() |
Returns the span that is currently active on this thread - the one that is top of the stack.
|
TracerSpan |
Tracer.pushSpan(Span span) |
Attaches the Span to the tracer's thread-local context (i.e.
|
TracerSpan |
Tracer.startTrace(Span span) |
Starts a trace by attaching the provided Span to the Tracer's thread-local context as the new "root".
|
Modifier and Type | Method | Description |
---|---|---|
TracerSpan |
ThreadLocalTracingContext.peekFirst() |
|
TracerSpan |
TracingContext.peekFirst() |
Grab the latest Span in the current stack without removing it.
|
TracerSpan |
ThreadLocalTracingContext.peekLast() |
|
TracerSpan |
TracingContext.peekLast() |
Grab the founding Span in the current stack without removing it.
|
TracerSpan |
ThreadLocalTracingContext.pop() |
|
TracerSpan |
TracingContext.pop() |
Pop the latest Span off the stack for the current service trace and return it.
|
Modifier and Type | Method | Description |
---|---|---|
Deque<TracerSpan> |
ThreadLocalTracingContext.get() |
|
Deque<TracerSpan> |
TracingContext.get() |
Return the stack of spans in the current trace (for this service).
|
Modifier and Type | Method | Description |
---|---|---|
void |
ThreadLocalTracingContext.push(TracerSpan span) |
|
void |
TracingContext.push(TracerSpan span) |
Add a new Span to the current service-scope of the trace.
|
Copyright © 2019–2020 Honeycomb. All rights reserved.