diff options
author | ncteisen <ncteisen@gmail.com> | 2018-10-04 17:01:45 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-10-04 17:01:45 -0700 |
commit | 94d3a4d396d8076f593ca7f6c0d866ba9810bb04 (patch) | |
tree | 3080588d2a3f5bd3ea7e1e647eea5b5d95db76b4 /src/core/lib/channel | |
parent | e21a418aaef4d2d6541e9d26742b0dc57995b18d (diff) | |
parent | fbbf4593d69823b1a3d75e910c714a783116648f (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into channelz-registry
Diffstat (limited to 'src/core/lib/channel')
-rw-r--r-- | src/core/lib/channel/channelz.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/lib/channel/channelz.h b/src/core/lib/channel/channelz.h index b7ae101238..d949e1b449 100644 --- a/src/core/lib/channel/channelz.h +++ b/src/core/lib/channel/channelz.h @@ -39,6 +39,15 @@ #define GRPC_ARG_CHANNELZ_CHANNEL_IS_INTERNAL_CHANNEL \ "grpc.channelz_channel_is_internal_channel" +/** This is the default value for whether or not to enable channelz. If + * GRPC_ARG_ENABLE_CHANNELZ is set, it will override this default value. */ +#define GRPC_ENABLE_CHANNELZ_DEFAULT false + +/** This is the default value for number of trace events per node. If + * GRPC_ARG_MAX_CHANNEL_TRACE_EVENTS_PER_NODE is set, it will override this + * default value. */ +#define GRPC_MAX_CHANNEL_TRACE_EVENTS_PER_NODE_DEFAULT 0 + namespace grpc_core { namespace channelz { |