Sha256: 73bdd41b0889acdc35ee4155218770e879d11d867951e3d578096e7d62b08bd5
Contents?: true
Size: 574 Bytes
Versions: 43
Compression:
Stored size: 574 Bytes
Contents
# Copyright (c) 2013 AppNeta, Inc. # All rights reserved. module Oboe ## # The Inst module holds all of the instrumentation extensions for various # libraries suchs 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 Oboe.logger.error "[oboe/loading] Error loading instrumentation file '#{f}' : #{e}" end end end end end
Version data entries
43 entries across 43 versions & 1 rubygems