public class BraveTraceContext extends Object implements org.springframework.cloud.sleuth.TraceContext
TraceContext.| Constructor and Description |
|---|
BraveTraceContext(brave.propagation.TraceContext traceContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static org.springframework.cloud.sleuth.TraceContext |
fromBrave(brave.propagation.TraceContext traceContext) |
int |
hashCode() |
String |
parentId() |
Boolean |
sampled() |
String |
spanId() |
static brave.propagation.TraceContext |
toBrave(org.springframework.cloud.sleuth.TraceContext traceContext) |
String |
toString() |
String |
traceId() |
public BraveTraceContext(brave.propagation.TraceContext traceContext)
public String traceId()
traceId in interface org.springframework.cloud.sleuth.TraceContext@Nullable public String parentId()
parentId in interface org.springframework.cloud.sleuth.TraceContextpublic String spanId()
spanId in interface org.springframework.cloud.sleuth.TraceContextpublic Boolean sampled()
sampled in interface org.springframework.cloud.sleuth.TraceContextpublic static brave.propagation.TraceContext toBrave(org.springframework.cloud.sleuth.TraceContext traceContext)
public static org.springframework.cloud.sleuth.TraceContext fromBrave(brave.propagation.TraceContext traceContext)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.