public class OtelTraceContextBuilder extends Object implements org.springframework.cloud.sleuth.TraceContext.Builder
TraceContext.Builder.| Constructor and Description |
|---|
OtelTraceContextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.sleuth.TraceContext |
build() |
org.springframework.cloud.sleuth.TraceContext.Builder |
parentId(String parentId) |
org.springframework.cloud.sleuth.TraceContext.Builder |
sampled(Boolean sampled) |
org.springframework.cloud.sleuth.TraceContext.Builder |
spanId(String spanId) |
org.springframework.cloud.sleuth.TraceContext.Builder |
traceId(String traceId) |
public org.springframework.cloud.sleuth.TraceContext.Builder traceId(String traceId)
traceId in interface org.springframework.cloud.sleuth.TraceContext.Builderpublic org.springframework.cloud.sleuth.TraceContext.Builder parentId(String parentId)
parentId in interface org.springframework.cloud.sleuth.TraceContext.Builderpublic org.springframework.cloud.sleuth.TraceContext.Builder spanId(String spanId)
spanId in interface org.springframework.cloud.sleuth.TraceContext.Builderpublic org.springframework.cloud.sleuth.TraceContext.Builder sampled(Boolean sampled)
sampled in interface org.springframework.cloud.sleuth.TraceContext.Builderpublic org.springframework.cloud.sleuth.TraceContext build()
build in interface org.springframework.cloud.sleuth.TraceContext.BuilderCopyright © 2023 Pivotal Software, Inc.. All rights reserved.