-
Notifications
You must be signed in to change notification settings - Fork 782
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
Provide an option to customize GrpcChannelOptions #5083
Comments
Related: #5028 but with a different approach |
We face a similar issue. Behind our corporate proxy load-balancing does not work:
In other gRPC scenarios the following suggestion solved this issue: grpc/grpc-dotnet#2116 (comment) It requires to set the |
It looks like this solution is now unachievable. For some reason, the project went towards a custom implementation of the grpc client, instead of using the default one from Microsoft (grpc dotnet). This will certainly create a lot of difficulties in implementing many simple things like channel settings, balancing, interceptors. |
But the problem still remains relevant, there is no way to adjust the balancing of collectors, due to which some are overloaded, and some are stagnating without load |
Feature Request
Is your feature request related to a problem?
Unable to use grpc exporter in BlazorWasm with current OpenTelemetry grpc exporter code. Currently
GrpcChannel
is created with defaultGrpcChannelOptions
which default ot usingSocketsHttpHandler
and invoke load balancing code which ends up crashing.Describe the solution you'd like:
I want to introduce a class
And augment
OtlpGrpcTraceExportClient
to somehow consume these options which then will be passed toOtlpExporterOptionsExtensions.CreateChannel
What do you want to happen instead? What is the expected behavior?
I want to provide a custom
HttpClient/HttpClientHandler
so grpc exporter in wasm won't crashWhich alternative solutions or features have you considered?
Alternative solution would be using HttpProtobuf but it requires keeping track of special endpoint for wasm and it is less effective than grpc
Additional Context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: