| Package | Description |
|---|---|
| brave |
| Modifier and Type | Method | Description |
|---|---|---|
Tracing.Builder |
Tracing.Builder.addFinishedSpanHandler(FinishedSpanHandler finishedSpanHandler) |
Similar to
spanReporter(Reporter) except it can read the trace context and create
more efficient or completely different data structures. |
Tracing.Builder |
Tracing.Builder.clock(Clock clock) |
Assigns microsecond-resolution timestamp source for operations like
Span.start(). |
Tracing.Builder |
Tracing.Builder.currentTraceContext(CurrentTraceContext currentTraceContext) |
Responsible for implementing
Tracer.startScopedSpan(String), Tracer.currentSpanCustomizer(), Tracer.currentSpan() and Tracer.withSpanInScope(Span). |
Tracing.Builder |
Tracing.Builder.endpoint(zipkin2.Endpoint endpoint) |
Deprecated.
Use
localServiceName(String) localIp(String) and localPort(int). Will be removed in Brave v6. |
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) |
True means the tracing system supports sharing a span ID between a
Span.Kind.CLIENT
and Span.Kind.SERVER span. |
Tracing.Builder |
Tracing.Builder.traceId128Bit(boolean traceId128Bit) |
When true, new root spans will have 128-bit trace IDs.
|
Copyright © 2018 OpenZipkin. All rights reserved.