code: def trace_integration(tracer=None):
      
      log.info('Integrated module: {}'.format(MODULE_NAME))
  
      if tracer is not None:
          # The execution_context tracer should never be None - if it has not
          # been set it returns a no-op tracer. Most code in this library does
          # not handle None being used in the execution context.
          execution_context.set_opencensus_tracer(tracer)
  
      # Wrap the requests functions
      for func in REQUESTS_WRAP_METHODS:
          requests_func = getattr(requests, func)
          wrapped = wrap_requests(requests_func)
          setattr(requests, requests_func.__name__, wrapped)
  
      # Wrap Session class
      wrapt.wrap_function_wrapper(
          MODULE_NAME, 'Session.request', wrap_session_request)
docs: Wrap the requests library to trace it.