Quarkus升级后OTel日志被Context错误信息淹没的解决求助
Quarkus遥测日志刷屏问题求助
升级Quarkus从3.x版本到3.9版本后,我们在使用遥测功能时发现日志被大量重复信息刷屏,升级到3.10版本后问题仍未解决。
刷屏的日志内容如下:
io.quarkus.opentelemetry.runtime.QuarkusContextStorage~INFO~~~[executor-thread-26]~Context in storage not the expected context, Scope.close was not called correctly. Details: OTel context before: {spanId=153b3429e76952a0, traceId=4ef28ffc44a2d0ab45d3d9638e0a382f, sampled=false}. OTel context toAttach: {spanId=676849a28ef95992, traceId=4ef28ffc44a2d0ab45d3d9638e0a382f, sampled=false}
我们推测该问题与Quarkus的Issue #25102相关,希望能得到以下帮助:
- 修复该上下文未正确关闭问题的方法
- 临时关闭OTel INFO级日志的配置方式
感谢各位的帮助!
内容的提问来源于stack exchange,提问作者sg2000
相关产品推荐
相关产品推荐

