Package | Description |
---|---|
brave | |
brave.internal | |
brave.internal.recorder | |
brave.propagation |
Modifier and Type | Method | Description |
---|---|---|
abstract TraceContext |
Span.context() |
Modifier and Type | Method | Description |
---|---|---|
Span |
Tracer.joinSpan(TraceContext context) |
Joining is re-using the same trace and span ids extracted from an incoming RPC request.
|
Span |
Tracer.newChild(TraceContext parent) |
Explicitly creates a child within an existing.
|
Span |
Tracer.toSpan(TraceContext context) |
Converts the context as-is to a Span object
|
Modifier and Type | Method | Description |
---|---|---|
abstract Long |
Internal.timestamp(Tracer tracer,
TraceContext context) |
Modifier and Type | Method | Description |
---|---|---|
void |
Recorder.abandon(TraceContext context) |
|
void |
Recorder.annotate(TraceContext context,
long timestamp,
String value) |
|
void |
Recorder.annotate(TraceContext context,
String value) |
|
void |
Recorder.finish(TraceContext context) |
|
void |
Recorder.finish(TraceContext context,
long finishTimestamp) |
|
void |
Recorder.flush(TraceContext context) |
|
void |
Recorder.kind(TraceContext context,
Span.Kind kind) |
|
void |
Recorder.name(TraceContext context,
String name) |
|
void |
Recorder.remoteEndpoint(TraceContext context,
zipkin2.Endpoint remoteEndpoint) |
|
void |
Recorder.start(TraceContext context) |
|
void |
Recorder.start(TraceContext context,
long timestamp) |
|
void |
Recorder.tag(TraceContext context,
String key,
String value) |
|
Long |
Recorder.timestamp(TraceContext context) |
Hook needed for Brave 3's LocalTracer.finish(duration)
|
Modifier and Type | Method | Description |
---|---|---|
abstract TraceContext |
TraceContext.Builder.autoBuild() |
|
TraceContext |
TraceContext.Builder.build() |
|
TraceContext |
TraceContextOrSamplingFlags.context() |
|
TraceContext |
CurrentTraceContext.Default.get() |
|
abstract TraceContext |
CurrentTraceContext.get() |
Returns the current span in scope or null if there isn't one.
|
TraceContext |
StrictCurrentTraceContext.get() |
Modifier and Type | Method | Description |
---|---|---|
TraceContextOrSamplingFlags.Builder |
TraceContextOrSamplingFlags.Builder.context(TraceContext context) |
|
static TraceContextOrSamplingFlags |
TraceContextOrSamplingFlags.create(TraceContext context) |
|
static String |
ExtraFieldPropagation.get(TraceContext context,
String name) |
Returns the value of the field with the specified key or null if not available
|
void |
TraceContext.Injector.inject(TraceContext traceContext,
C carrier) |
Usually calls a setter for each propagation field to send downstream.
|
CurrentTraceContext.Scope |
CurrentTraceContext.Default.newScope(TraceContext currentSpan) |
|
abstract CurrentTraceContext.Scope |
CurrentTraceContext.newScope(TraceContext currentSpan) |
Sets the current span in scope until the returned object is closed.
|
CurrentTraceContext.Scope |
StrictCurrentTraceContext.newScope(TraceContext currentSpan) |
Identifies problems by throwing assertion errors when a scope is closed on a different thread.
|
Copyright © 2017 OpenZipkin. All rights reserved.