Skip to content

Commit

Permalink
extproc: ext_proc: propagate tracing context
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
  • Loading branch information
cainelli committed Apr 25, 2024
1 parent 6d3ce62 commit af27da2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/extensions/filters/http/ext_proc/client_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ bool ExternalProcessorStreamImpl::startStream(
const Http::AsyncClient::StreamOptions& options) {
client_ = std::move(client);
auto descriptor = Protobuf::DescriptorPool::generated_pool()->FindMethodByName(kExternalMethod);
grpc_context_ = options.parent_context stream_ = client_.start(*descriptor, *this, options);
grpc_context_ = options.parent_context;
stream_ = client_.start(*descriptor, *this, options);
// Returns true if the start succeeded and returns false on start failure.
return stream_ != nullptr;
}
Expand Down

0 comments on commit af27da2

Please sign in to comment.