| Package | Description |
|---|---|
| brave | |
| brave.propagation |
| Modifier and Type | Method | Description |
|---|---|---|
abstract CurrentTraceContext |
Tracing.currentTraceContext() |
This supports in-process propagation, typically across thread boundaries.
|
| Modifier and Type | Method | Description |
|---|---|---|
Tracing.Builder |
Tracing.Builder.currentTraceContext(CurrentTraceContext currentTraceContext) |
Responsible for implementing
Tracer.startScopedSpan(String), Tracer.currentSpanCustomizer(), Tracer.currentSpan() and Tracer.withSpanInScope(Span). |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CurrentTraceContext.Default |
Default implementation which is backed by a static thread local.
|
class |
StrictCurrentTraceContext |
Deprecated.
use StrictScopeDecorator. This will be removed in Brave v6.
|
class |
ThreadLocalCurrentTraceContext |
In-process trace context propagation backed by a static thread local.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract CurrentTraceContext |
CurrentTraceContext.Builder.build() |
|
static CurrentTraceContext |
CurrentTraceContext.Default.create() |
Uses a non-inheritable static thread local
|
static CurrentTraceContext |
ThreadLocalCurrentTraceContext.create() |
|
static CurrentTraceContext |
CurrentTraceContext.Default.inheritable() |
Uses an inheritable static thread local which allows arbitrary calls to
Thread.start() to automatically inherit this context. |
Copyright © 2018 OpenZipkin. All rights reserved.