def start
      unless config.disable_start_message
        info '[%s] Starting agent, reporting to %s', VERSION, config.server_url
      end

      transport.start
      instrumenter.start
      metrics.start

      config.enabled_spies.each do |lib|
        debug "Requiring spy: #{lib}"
        require "elastic_apm/spies/#{lib}"
      end

      self
    end
def start
      unless config.disable_start_message
        info '[%s] Starting agent, reporting to %s', VERSION, config.server_url
      end

      transport.start
      instrumenter.start
      metrics.start

      config.enabled_spies.each do |lib|
        debug "Requiring spy: #{lib}"
        require "elastic_apm/spies/#{lib}"
      end

      self
    end
rubocop:disable Metrics/AbcSize