Module: Oboe::Inst
- Defined in:
- lib/oboe/instrumentation.rb,
lib/oboe/inst/dalli.rb,
lib/oboe/inst/excon.rb,
lib/oboe/inst/mongo.rb,
lib/oboe/inst/moped.rb,
lib/oboe/inst/redis.rb,
lib/oboe/inst/resque.rb,
lib/oboe/inst/sequel.rb,
lib/oboe/inst/faraday.rb,
lib/oboe/inst/memcache.rb,
lib/oboe/inst/typhoeus.rb,
lib/oboe/inst/cassandra.rb,
lib/oboe/inst/memcached.rb,
lib/oboe/inst/httpclient.rb,
lib/oboe/inst/rest-client.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: ActionController3, ActionController4, Cassandra, ConnectionAdapters, Dalli, EventMachine, ExconConnection, FaradayConnection, HTTPClient, MemCache, Memcached, MemcachedRails, Mongo, Moped, RailsBase, Redis, Resque, ResqueJob, ResqueWorker, RestClientRequest, Sequel, SequelDatabase, SequelDataset, TyphoeusHydraRunnable, TyphoeusRequestOps
Class Method Summary collapse
Class Method Details
.load_instrumentation ⇒ Object
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 |