Tracing.Builder |
Tracing.Builder.addFinishedSpanHandler(FinishedSpanHandler handler) |
Similar to spanReporter(Reporter) except it can read the trace context and create
more efficient or completely different data structures.
|
Tracing.Builder |
Tracing.Builder.alwaysReportSpans() |
|
Tracing.Builder |
Tracing.Builder.clock(Clock clock) |
Assigns microsecond-resolution timestamp source for operations like Span.start().
|
Tracing.Builder |
Tracing.Builder.currentTraceContext(CurrentTraceContext currentTraceContext) |
|
Tracing.Builder |
Tracing.Builder.endpoint(zipkin2.Endpoint endpoint) |
Deprecated.
|
Tracing.Builder |
Tracing.Builder.errorParser(ErrorParser errorParser) |
|
Tracing.Builder |
Tracing.Builder.localIp(String localIp) |
The text representation of the primary IP address associated with this service.
|
Tracing.Builder |
Tracing.Builder.localPort(int localPort) |
The primary listen port associated with this service.
|
Tracing.Builder |
Tracing.Builder.localServiceName(String localServiceName) |
Lower-case label of the remote node in the service graph, such as "favstar".
|
static Tracing.Builder |
Tracing.newBuilder() |
|
Tracing.Builder |
Tracing.Builder.propagationFactory(Propagation.Factory propagationFactory) |
Controls how trace contexts are injected or extracted from remote requests, such as from http
headers.
|
Tracing.Builder |
Tracing.Builder.sampler(Sampler sampler) |
Sampler is responsible for deciding if a particular trace should be "sampled", i.e.
|
Tracing.Builder |
Tracing.Builder.spanReporter(zipkin2.reporter.Reporter<zipkin2.Span> spanReporter) |
Controls how spans are reported.
|
Tracing.Builder |
Tracing.Builder.supportsJoin(boolean supportsJoin) |
|
Tracing.Builder |
Tracing.Builder.traceId128Bit(boolean traceId128Bit) |
When true, new root spans will have 128-bit trace IDs.
|
Tracing.Builder |
Tracing.Builder.trackOrphans() |
When true, this logs the caller which orphaned a span to the category "brave.Tracer" at
Level.FINE.
|