Sha256: d5cd0ae6b35ed8780fb0baca6965030f72578422cd8479e335ff3051a6875d10
Contents?: true
Size: 561 Bytes
Versions: 13
Compression:
Stored size: 561 Bytes
Contents
module Instana AUTOLOAD_DIRECTORIES = [:instrumentation, :frameworks].freeze end if !ENV.key?('INSTANA_DISABLE_AUTO_INSTR') # # Load all of the files in the specified subdirectories # ::Instana::AUTOLOAD_DIRECTORIES.each do |d| pattern = File.join(File.dirname(__FILE__), d.to_s, '*.rb') Dir.glob(pattern) do |f| begin require f rescue => e Instana.logger.error "#{__method__}:#{File.basename(__FILE__)}:#{__LINE__}: #{e.message}" Instana.logger.debug e.backtrace.join("\r\n") end end end end
Version data entries
13 entries across 13 versions & 1 rubygems