-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: lost trace content in occasion when shutting down trace #3418
Conversation
@oldme-git @houseme 不对啊,有个 |
@oldme-git @houseme No, there is a |
刚开始直接使用完 |
I had this problem when I used |
这里会对使用者造成困惑,是否自己的代码中也需要加上这个 |
This will cause confusion for users, whether they need to add this |
这个地方设置了 超时时间,是不是测试环境网络问题,可以调整一下这个时间的值 @oldme-git gf/contrib/trace/otlpgrpc/otlpgrpc.go Line 94 in 8669512
|
The timeout is set here. Is it a network problem in the test environment? You can adjust the value of this time @oldme-git gf/contrib/trace/otlpgrpc/otlpgrpc.go Line 94 in 8669512
|
f7c1ed5
to
34955c3
Compare
34955c3
to
719b3eb
Compare
@houseme @gqcn |
Dear review:
在程序结束时要留有时间等待数据上报,不然有时候 otel 服务端会收不到,自建
jaeger
和阿里云都有这个问题。官网的示例也要改一下,不然新手会很疑惑。