The GRPC_TRACE environment variable supports a comma-separated list of tracer names or glob patterns that provide additional insight into how gRPC C core is processing requests via debug logs. Available tracers include:
api tracer must be enabled for this flag to have any effect.api tracer must be enabled for this flag to have any effect.The following tracers will only run in binaries built in DEBUG mode. This is accomplished by invoking bazel build --config=dbg <target>
api tracer must be enabled for this flag to have any effect.Glob patterns and special cases:
* can be used to turn all traces on.-.*refcount* will turn on all of the tracers for refcount debugging.list_tracers is present, then all of the available tracers will be printed when the program starts up.Example: export GRPC_TRACE=*,-pending_tags