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