public static final class TraceContext.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
TraceContext |
build() |
|
TraceContext.Builder |
debug(boolean debug) |
Ensures sampled is set when debug is
|
TraceContext.Builder |
extra(List<Object> extra) |
|
TraceContext.Builder |
parentId(long parentId) |
|
TraceContext.Builder |
parentId(Long parentId) |
|
TraceContext.Builder |
sampled(boolean sampled) |
|
TraceContext.Builder |
sampled(Boolean sampled) |
|
TraceContext.Builder |
spanId(long spanId) |
|
TraceContext.Builder |
traceId(long traceId) |
|
TraceContext.Builder |
traceIdHigh(long traceIdHigh) |
public TraceContext.Builder traceIdHigh(long traceIdHigh)
TraceContext.traceIdHigh()public TraceContext.Builder traceId(long traceId)
TraceContext.traceId()public TraceContext.Builder parentId(long parentId)
TraceContext.parentIdAsLong()public TraceContext.Builder parentId(@Nullable Long parentId)
TraceContext.parentId()public TraceContext.Builder spanId(long spanId)
TraceContext.spanId()public TraceContext.Builder sampled(boolean sampled)
TraceContext.sampled()public TraceContext.Builder sampled(@Nullable Boolean sampled)
TraceContext.sampled()public TraceContext.Builder debug(boolean debug)
TraceContext.debug()public TraceContext.Builder extra(List<Object> extra)
TraceContext.extra()public final TraceContext build()
Copyright © 2018 OpenZipkin. All rights reserved.