-
Notifications
You must be signed in to change notification settings - Fork 855
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
Exception with OtlpGrpcSpanExporter and latest grpc #5907
Comments
As far as I understand you should supply the channel instead of the endpoint like it is done in Line 37 in 3827ee1
|
Yes, but |
Yes @laurit is correct. #4531 describes a use case where |
it is just that okhttp brings kotlin dependencies, and in the project I plan to use it, we already have grpc-java. |
If you're on java 11+, consider using |
@jack-berg is there a way to setChannel using autoconfigure? thanks |
Describe the bug
Got an exception when trying to build and
OtlpGrpcSpanExporter
not using default okhttp exporter butopentelemetry-exporter-sender-grpc-managed-channel
Steps to reproduce
What did you expect to see?
No Exception.
What did you see instead?
An exception because
channel
is null andio.grpc.ClientInterceptors.intercept
checks that.What version and what artifacts are you using?
grpc-java: 1.58.0
Environment
Compiler: OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7)
OS: Windows
The text was updated successfully, but these errors were encountered: