gRPC C core based implementations (those contained in this repository) expose some configuration as environment variables that can be set.
GRPC_ABORT_ON_LEAKS A debugging aid to cause a call to abort() when gRPC objects are leaked past grpc_shutdown(). Set to 1 to cause the abort, if unset or 0 it does not abort the process.
GOOGLE_APPLICATION_CREDENTIALS The path to find the credentials to use when Google credentials are created
GRPC_SSL_CIPHER_SUITES A colon separated list of cipher suites to use with OpenSSL Defaults to: ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-GCM-SHA384
GRPC_DEFAULT_SSL_ROOTS_FILE_PATH PEM file to load SSL roots from
GRPC_POLL_STRATEGY [posix-style environments only] Declares which polling engines to try when starting gRPC. This is a comma-separated list of engines, which are tried in priority order first -> last. Available polling engines include:
GRPC_TRACE A comma separated list of tracers that provide additional insight into how gRPC C core is processing requests via debug logs. Available tracers include:
'all' can additionally be used to turn all traces on. Individual traces can be disabled by prefixing them with '-'.
Example: export GRPC_TRACE=all,-pending_tags
GRPC_VERBOSITY Default gRPC logging verbosity - one of: