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();
}

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/22faebd9-c1e8-41f6-85ec-bb23a3da0420n%40googlegroups.com.

Reply via email to