Package | Description |
---|---|
brave.internal.propagation | |
brave.propagation |
Modifier and Type | Method | Description |
---|---|---|
CurrentTraceContext.Scope |
CorrelationFieldScopeDecorator.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
When the input is not null "traceId", "parentId" and "spanId" correlation properties are saved
off and replaced with those of the current span.
|
Modifier and Type | Method | Description |
---|---|---|
CurrentTraceContext.Scope |
CorrelationFieldScopeDecorator.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
When the input is not null "traceId", "parentId" and "spanId" correlation properties are saved
off and replaced with those of the current span.
|
Modifier and Type | Field | Description |
---|---|---|
static CurrentTraceContext.Scope |
CurrentTraceContext.Scope.NOOP |
Returned when
CurrentTraceContext.maybeScope(TraceContext) detected scope
redundancy. |
Modifier and Type | Method | Description |
---|---|---|
protected CurrentTraceContext.Scope |
CurrentTraceContext.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
When implementing CurrentTraceContext.newScope(TraceContext), decorate the result before returning
it.
|
CurrentTraceContext.Scope |
CurrentTraceContext.ScopeDecorator.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
|
CurrentTraceContext.Scope |
StrictScopeDecorator.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
Identifies problems by throwing assertion errors when a scope is closed on a different thread.
|
CurrentTraceContext.Scope |
CurrentTraceContext.maybeScope(TraceContext currentSpan) |
Like
CurrentTraceContext.newScope(TraceContext) , except returns NOOP if the given context is
already in scope. |
abstract CurrentTraceContext.Scope |
CurrentTraceContext.newScope(TraceContext currentSpan) |
Sets the current span in scope until the returned object is closed.
|
CurrentTraceContext.Scope |
ThreadLocalCurrentTraceContext.newScope(TraceContext currentSpan) |
Modifier and Type | Method | Description |
---|---|---|
protected CurrentTraceContext.Scope |
CurrentTraceContext.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
When implementing CurrentTraceContext.newScope(TraceContext), decorate the result before returning
it.
|
CurrentTraceContext.Scope |
CurrentTraceContext.ScopeDecorator.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
|
CurrentTraceContext.Scope |
StrictScopeDecorator.decorateScope(TraceContext currentSpan,
CurrentTraceContext.Scope scope) |
Identifies problems by throwing assertion errors when a scope is closed on a different thread.
|
Copyright © 2018 OpenZipkin. All rights reserved.