module Kernel

@api private

Private Instance Methods

require(path) click to toggle source
# File lib/hoss/spies.rb, line 90
def require(path)
  res = require_without_apm(path)

  begin
    Hoss::Spies.hook_into(path)
  rescue ::Exception => e
    puts "Failed hooking into '#{path}'. Please report this at " \
      'github.com/elastic/apm-agent-ruby'
    puts e.backtrace.join("\n")
  end

  res
end
Also aliased as: require_without_apm
require_without_apm(path)
Alias for: require