jinkeom
unread,Aug 18, 2022, 1:49:50 AM8/18/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
I want to enable the tracer without restarting while the application is running. When the application receives a message, it will enable/disable the tracer.
However, only the following functions are open to GRPCAPI, and it can only set one TraceFlag.
./include/grpc/grpc.h:485:GRPCAPI int grpc_tracer_set_enabled(const char* name, int enabled);
I want to use the same string set in "export GRPC_TRACE=" while the application is in operation.
Can you open the "grpc_tracker_init(const char* env_var_name)" function which will use the parameter env_var_name, not ENV.
void grpc_tracer_init(const char* env_var_name) {
(void)env_var_name; // suppress unused variable error
grpc_tracer_init();
}