Package | Description |
---|---|
brave | |
brave.internal | |
brave.internal.recorder | |
brave.propagation |
Modifier and Type | Method and Description |
---|---|
abstract TraceContext |
Span.context() |
Modifier and Type | Method and Description |
---|---|
Span |
Tracer.joinSpan(TraceContext context)
Joining is re-using the same trace and span ids extracted from an incoming request.
|
Span |
Tracer.newChild(TraceContext parent)
Creates a new span within an existing trace.
|
Span |
Tracer.toSpan(TraceContext context)
Converts the context as-is to a Span object
|
Modifier and Type | Method and Description |
---|---|
abstract Long |
Internal.timestamp(Tracer tracer,
TraceContext context) |
Modifier and Type | Method and Description |
---|---|
void |
Recorder.annotate(TraceContext context,
long timestamp,
String value) |
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,
zipkin.Endpoint remoteEndpoint) |
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 and Description |
---|---|
abstract TraceContext |
TraceContext.Builder.build() |
abstract TraceContext |
TraceContextOrSamplingFlags.context()
When present, create the span via
Tracer.joinSpan(TraceContext) |
Modifier and Type | Method and Description |
---|---|
void |
TraceContext.Injector.inject(TraceContext traceContext,
C carrier)
Usually calls a setter for each propagation field to send downstream.
|
Copyright © 2017. All rights reserved.