我想包括 spring.sleuth.propagation-keys 提到 here CurrentTraceContext 类似 Slf4jCurrentTraceContext
spring.sleuth.propagation-keys
CurrentTraceContext
Slf4jCurrentTraceContext
ExtraFieldPropagation.Extra 类是包私有的:
ExtraFieldPropagation.Extra
((ExtraFieldPropagation.Extra) currentSpan.extra().get(0)).values[0];
spring: sleuth: propagation-keys: trId
我错过了什么?
ExtraFieldPropagation.get(currentSpan, "trId")