We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5441e commit 42a904eCopy full SHA for 42a904e
exporters/otlp/src/otlp_grpc_client.cc
@@ -333,15 +333,7 @@ std::shared_ptr<grpc::Channel> OtlpGrpcClient::MakeChannel(const OtlpGrpcClientO
333
}
334
335
std::shared_ptr<grpc::Channel> channel;
336
- std::string grpc_target;
337
- if (url.scheme_ == "unix")
338
- {
339
- grpc_target = "unix:" + url.path_;
340
- }
341
- else
342
343
- grpc_target = url.host_ + ":" + std::to_string(static_cast<int>(url.port_));
344
+ std::string grpc_target = url.host_ + ":" + std::to_string(static_cast<int>(url.port_));
345
grpc::ChannelArguments grpc_arguments;
346
grpc_arguments.SetUserAgentPrefix(options.user_agent);
347
0 commit comments