Sha256: d5162e6e7be8226b2b6b9512f00005ba9f129e0cf6c2e39172c460795a2ce29b

Contents?: true

Size: 385 Bytes

Versions: 6

Compression:

Stored size: 385 Bytes

Contents

module Oboe
  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
          Oboe.logger.error "[oboe/loading] Error loading insrumentation file '#{f}' : #{e}"
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
oboe-2.2.6 lib/oboe/instrumentation.rb
oboe-2.2.5 lib/oboe/instrumentation.rb
oboe-2.2.0 lib/oboe/instrumentation.rb
oboe-2.1.4 lib/oboe/instrumentation.rb
oboe-2.1.3 lib/oboe/instrumentation.rb
oboe-2.1.1 lib/oboe/instrumentation.rb