diff options
author | ncteisen <ncteisen@gmail.com> | 2018-06-15 11:04:37 -0400 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-06-15 11:04:37 -0400 |
commit | c7166ae67dd554d41b4d26286da2888aebc0153b (patch) | |
tree | 7a5004544afc6a88ffc794d4b9f86d2fd3cadf6c /include/grpc/impl | |
parent | f92460e539405bbca98af3547edd3150d0fcca40 (diff) |
Make channelz an opt in feature
Diffstat (limited to 'include/grpc/impl')
-rw-r--r-- | include/grpc/impl/codegen/grpc_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/grpc_types.h b/include/grpc/impl/codegen/grpc_types.h index a5961857c1..786c070c14 100644 --- a/include/grpc/impl/codegen/grpc_types.h +++ b/include/grpc/impl/codegen/grpc_types.h @@ -289,6 +289,9 @@ typedef struct { * subchannel. The default is 10. If set to 0, channel tracing is disabled. */ #define GRPC_ARG_MAX_CHANNEL_TRACE_EVENTS_PER_NODE \ "grpc.max_channel_trace_events_per_node" +/** If non-zero, gRPC library will track stats and information at at per channel + * level. Disabling channelz naturally disabled channel tracing. */ +#define GRPC_ARG_ENABLE_CHANNELZ "grpc.enable_channelz" /** If non-zero, Cronet transport will coalesce packets to fewer frames * when possible. */ #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \ |