module Oboe::Inst

The Inst module holds all of the instrumentation extensions for various libraries suchs as Redis, Dalli and Resque.

Public Class Methods

load_instrumentation() click to toggle source
# File lib/oboe/instrumentation.rb, line 9
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