public abstract static class ClientTracer.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract ClientTracer.Builder |
randomGenerator(Random randomGenerator)
Used to generate new trace/span ids.
|
abstract ClientTracer.Builder |
spanCollector(SpanCollector spanCollector) |
ClientTracer.Builder |
state(ServerClientAndLocalSpanState state) |
abstract ClientTracer.Builder |
traceFilters(List<TraceFilter> traceFilters)
Will be executed in order.
|
public ClientTracer.Builder state(ServerClientAndLocalSpanState state)
public abstract ClientTracer.Builder randomGenerator(Random randomGenerator)
public abstract ClientTracer.Builder spanCollector(SpanCollector spanCollector)
public abstract ClientTracer.Builder traceFilters(List<TraceFilter> traceFilters)
false there will be no tracing and
next ones will not be executed anymore. So order is important.Copyright © 2015. All rights reserved.