aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc.h
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-03-01 20:45:26 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2018-03-01 20:45:26 -0800
commitbf5237a723501c3a0c6324f7d8662b2759bfb816 (patch)
tree7947bafa15dd6f72c72f2a1d62e1755844c7035e /include/grpc/grpc.h
parent240fbf9fd60fd2b61e0c0ddd937ab5bb891f59ef (diff)
reviewer comments
Diffstat (limited to 'include/grpc/grpc.h')
-rw-r--r--include/grpc/grpc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h
index c129a66949..2ad247abb1 100644
--- a/include/grpc/grpc.h
+++ b/include/grpc/grpc.h
@@ -286,6 +286,14 @@ GRPCAPI grpc_channel* grpc_lame_client_channel_create(
/** Close and destroy a grpc channel */
GRPCAPI void grpc_channel_destroy(grpc_channel* channel);
+// Returns the JSON formatted channel trace for this channel. If recursive
+// is true, it will render all of the trace for this channel's subchannels.
+GRPCAPI char* grpc_channel_get_trace(grpc_channel* channel, bool recursive);
+
+// Returns the channel uuid, which can be used to look up its trace at a
+// later time.
+GRPCAPI intptr_t grpc_channel_get_uuid(grpc_channel* channel);
+
/** Error handling for grpc_call
Most grpc_call functions return a grpc_error. If the error is not GRPC_OK
then the operation failed due to some unsatisfied precondition.