diff options
author | David Garcia Quintas <dgq@google.com> | 2015-07-08 15:16:22 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-07-08 15:17:10 -0700 |
commit | 17bb64981a0035482193a6c02b030594b3a68f25 (patch) | |
tree | f3e6db1e9715bd6f7276f48cdcaa7f5ee5923fc8 /src/cpp | |
parent | a01f7a41cc1153bba33420a31281a5a2eb14c407 (diff) | |
parent | fc1a49a7354696a56f0065880a2d4a209516f774 (diff) |
Merge branch 'master' of github.com:grpc/grpc into decompression
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/client/channel.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpp/client/channel.cc b/src/cpp/client/channel.cc index 72593f877e..5bc6f6fd91 100644 --- a/src/cpp/client/channel.cc +++ b/src/cpp/client/channel.cc @@ -39,6 +39,7 @@ #include <grpc/support/log.h> #include <grpc/support/slice.h> +#include "src/core/census/grpc_context.h" #include "src/core/profiling/timers.h" #include <grpc++/channel_arguments.h> #include <grpc++/client_context.h> @@ -68,6 +69,7 @@ Call Channel::CreateCall(const RpcMethod& method, ClientContext* context, ? target_.c_str() : context->authority().c_str(), context->raw_deadline()); + grpc_census_call_set_context(c_call, context->get_census_context()); GRPC_TIMER_MARK(GRPC_PTAG_CPP_CALL_CREATED, c_call); context->set_call(c_call, shared_from_this()); return Call(c_call, this, cq); |