code: def generate_config_request(self, config):
          
  
          # TODO: send node once per channel
          request = trace_service_pb2.CurrentLibraryConfig(
              node=self.node,
              config=config)
  
          yield request
docs: ConfigTraceServiceRequest generator.
  
          :type config: `~opencensus.proto.trace.v1.TraceConfig`
          :param config: Trace config with sampling and other settings
  
          :rtype: iterator of
                 `~opencensus.proto.agent.trace.v1.CurrentLibraryConfig`
          :returns: Iterator of config requests.