-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQ里面调用redis,MQ的日志打印traceId正常,紧跟着redis set命令打印traceId丢失 #441
Labels
waiting for feedback
waiting for feedback
Comments
@raojun0504 当前使用的 SOFAtracer 版本是多少?可以看下 release node ,以确认当前版本是否支持 redis 客户端埋点 |
@raojun0504 可以debug 看下 MDCSpanExtension 是否有被执行到 |
这个问题你找到解决办法没有,我这边也遇到了经过reids操作以后traceId丢失问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your question
MQ里面调用redis,MQ的日志打印traceId正常,紧跟着redis set命令打印traceId丢失
redisTemplate.opsForValue().set("test mq redis", "test mq redis");
log.info("test mq redis end 1");
log日志的traceId丢失,断点进入redis的插件,里面traceId是正常封装
describe your question clearly
Your scenes
@StreamListener(value = MQ_TENANT_DB_CHANNEL, condition = SYNC_TENANT_DB_CONDITION)
public void syncTenantBasicData(@payload TenantDbMessageDTO tenantDbMessageDTO, @Header(MQ_HEADER_APPCODE) String appCode) throws InterruptedException {
describe your use scenes (why need this feature)
Your advice
describe the advice or solution you'd like
Environment
java -version
):uname -a
):The text was updated successfully, but these errors were encountered: