public static interface TraceContext.Builder
TraceContext.| Modifier and Type | Method and Description |
|---|---|
TraceContext |
build()
Builds the trace context.
|
TraceContext.Builder |
parentId(String parentId)
Sets parent id on the trace context.
|
TraceContext.Builder |
sampled(Boolean sampled)
Sets sampled on the trace context.
|
TraceContext.Builder |
spanId(String spanId)
Sets span id on the trace context.
|
TraceContext.Builder |
traceId(String traceId)
Sets trace id on the trace context.
|
TraceContext.Builder traceId(String traceId)
traceId - trace idTraceContext.Builder parentId(String parentId)
parentId - parent trace idTraceContext.Builder spanId(String spanId)
spanId - span idTraceContext.Builder sampled(Boolean sampled)
sampled - if span is sampledTraceContext build()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.