diff options
author | Mark D. Roth <roth@google.com> | 2018-11-02 12:12:13 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2018-11-02 12:12:13 -0700 |
commit | cbf94de90f17e995ce77fb756c15d54489547dba (patch) | |
tree | c17a05804e423707f77a61936c716a0e847ad123 /src/core/ext/filters/client_channel/subchannel.cc | |
parent | 36ac496c35cae0061d385f0499ab75442529afc3 (diff) |
Record subchannel calls started as part of creating subchannel call.
Diffstat (limited to 'src/core/ext/filters/client_channel/subchannel.cc')
-rw-r--r-- | src/core/ext/filters/client_channel/subchannel.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ext/filters/client_channel/subchannel.cc b/src/core/ext/filters/client_channel/subchannel.cc index e4c6efe862..d872ef23e1 100644 --- a/src/core/ext/filters/client_channel/subchannel.cc +++ b/src/core/ext/filters/client_channel/subchannel.cc @@ -1128,6 +1128,9 @@ grpc_error* ConnectedSubchannel::CreateCall(const CallArgs& args, return error; } grpc_call_stack_set_pollset_or_pollset_set(callstk, args.pollent); + if (channelz_subchannel_ != nullptr) { + channelz_subchannel_->RecordCallStarted(); + } return GRPC_ERROR_NONE; } |