Sha256: 6d01c092d2e50953d11d08da3489808e35678a29ee7e336a15e6721aae9b9e32

Contents?: true

Size: 589 Bytes

Versions: 12

Compression:

Stored size: 589 Bytes

Contents

# Copyright (c) 2013 AppNeta, Inc.
# All rights reserved.

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
traceview-3.0.5-java lib/traceview/instrumentation.rb
traceview-3.0.5 lib/traceview/instrumentation.rb
traceview-3.0.4-java lib/traceview/instrumentation.rb
traceview-3.0.4 lib/traceview/instrumentation.rb
traceview-3.0.3-java lib/traceview/instrumentation.rb
traceview-3.0.3 lib/traceview/instrumentation.rb
traceview-3.0.2-java lib/traceview/instrumentation.rb
traceview-3.0.2 lib/traceview/instrumentation.rb
traceview-3.0.1-java lib/traceview/instrumentation.rb
traceview-3.0.1 lib/traceview/instrumentation.rb
traceview-3.0.0-java lib/traceview/instrumentation.rb
traceview-3.0.0 lib/traceview/instrumentation.rb