We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
迁移 tracing 后端服务的时候想保证原来老的 tracing 暂时可用,但是 tracing middleware 默认使用了 global provider,导致 provider 的配置项不生效。
比如:
http.Middleware( tracing.Server(tracing.WithTracerProvider(provider1)), tracing.Server(tracing.WithTracerProvider(provider2)), )
只有 provider2 会生效
provider1 和 provider2 同时生效
同上
kratos -v
go version
cat /etc/os-release
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What happened:
迁移 tracing 后端服务的时候想保证原来老的 tracing 暂时可用,但是 tracing middleware 默认使用了 global provider,导致 provider 的配置项不生效。
比如:
只有 provider2 会生效
What you expected to happen:
provider1 和 provider2 同时生效
How to reproduce it (as minimally and precisely as possible):
同上
Anything else we need to know?:
Environment:
kratos -v
): v2.5.3go version
): v1.19cat /etc/os-release
): macOS 13.3.1The text was updated successfully, but these errors were encountered: