Sha256: 0e1cf566fce6a380591557d89073a5f744487994d41e6470f8a30461c679936c

Contents?: true

Size: 684 Bytes

Versions: 43

Compression:

Stored size: 684 Bytes

Contents

# Copyright (c) 2016 SolarWinds, LLC.
# All rights reserved.

module AppOpticsAPM
  ##
  # The Inst module holds all of the instrumentation extensions for various
  # libraries such as Redis, Dalli and Resque.
  module Inst
    def self.load_instrumentation
      # Load the general instrumentation
      pattern = File.join(File.dirname(__FILE__), 'inst', '*.rb')
      Dir.glob(pattern) do |f|
        begin
          require f
        rescue => e
          AppOpticsAPM.logger.error "[appoptics_apm/loading] Error loading instrumentation file '#{f}' : #{e}"
          AppOpticsAPM.logger.debug "[appoptics_apm/loading] #{e.backtrace.first}"
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
appoptics_apm-4.13.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.12.2 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.12.1 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.12.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.11.2 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.11.1 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.11.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.10.1 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.10.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.9.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.8.4 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.8.3 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.8.2 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.8.1 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.8.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.7.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.6.0 lib/appoptics_apm/instrumentation.rb
appoptics_apm_mnfst-4.5.2 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.5.2 lib/appoptics_apm/instrumentation.rb
appoptics_apm-4.5.1 lib/appoptics_apm/instrumentation.rb