Module: Oboe::Inst

Defined in:
lib/oboe/instrumentation.rb,
lib/oboe/inst/dalli.rb,
lib/oboe/inst/mongo.rb,
lib/oboe/inst/moped.rb,
lib/oboe/inst/redis.rb,
lib/oboe/inst/resque.rb,
lib/oboe/inst/faraday.rb,
lib/oboe/inst/memcache.rb,
lib/oboe/inst/cassandra.rb,
lib/oboe/inst/memcached.rb,
lib/oboe/inst/em-http-request.rb,
lib/oboe/frameworks/rails/inst/action_controller.rb,
lib/oboe/frameworks/rails/inst/connection_adapters/mysql.rb,
lib/oboe/frameworks/rails/inst/connection_adapters/utils.rb,
lib/oboe/frameworks/rails/inst/connection_adapters/mysql2.rb,
lib/oboe/frameworks/rails/inst/connection_adapters/oracle.rb,
lib/oboe/frameworks/rails/inst/connection_adapters/postgresql.rb

Overview

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

Defined Under Namespace

Modules: Cassandra, ConnectionAdapters, Dalli, EventMachine, FaradayConnection, MemCache, Memcached, MemcachedRails, Mongo, Moped, Rails3ActionController, Rails4ActionController, Redis, Resque, ResqueJob, ResqueWorker

Class Method Summary collapse

Class Method Details

.load_instrumentationObject



9
10
11
12
13
14
15
16
17
18
19
# 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