Sha256: 0bac63d0a7c66aa7a5545336bab59396916e7ac96b62995b6b74315fa95dfff2
Contents?: true
Size: 665 Bytes
Versions: 34
Compression:
Stored size: 665 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}" TraceView.logger.debug "[traceview/loading] #{e.backtrace.first}" end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems