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