public class TracingMDC extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SPAN_ID_NAME |
static String |
TRACE_ID_NAME |
| Constructor and Description |
|---|
TracingMDC() |
| Modifier and Type | Method and Description |
|---|---|
static void |
inject(io.opentracing.Span span)
注入 traceId 和 spanId
|
static void |
removeSpanId()
移除 spanId
|
static void |
removeTraceId()
移除 traceId
|
public static final String TRACE_ID_NAME
public static final String SPAN_ID_NAME
Copyright © 2025. All rights reserved.