Sha256: dc73b1bf201ee69288164b739cd2482ddf0c25acd85d76680faba85bea082cac
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
# Copyright (c) 2013 AppNeta, Inc. # All rights reserved. begin require 'oboe/version' require 'oboe/logger' require 'oboe/util' require 'base.rb' # If Oboe_metal is already defined then we are in a PaaS environment # with an alternate metal (such as Heroku: see the oboe-heroku gem) unless defined?(Oboe_metal) begin if RUBY_PLATFORM == 'java' require 'joboe_metal' require '/usr/local/tracelytics/tracelyticsagent.jar' else require 'oboe_metal' require 'oboe_metal.so' end rescue LoadError Oboe.loaded = false $stderr.puts "==============================================================" $stderr.puts "Missing TraceView libraries. Tracing disabled." $stderr.puts "See: https://support.tv.appneta.com/solution/articles/137973" $stderr.puts "==============================================================" end end require 'oboe/config' require 'oboe/loading' require 'method_profiling' require 'oboe/instrumentation' require 'oboe/ruby' # Frameworks require 'oboe/frameworks/rails' if defined?(::Rails) and Oboe.loaded rescue Exception => e $stderr.puts "[oboe/error] Problem loading: #{e.inspect}" $stderr.puts e.backtrace end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oboe-2.3.3.7 | lib/oboe.rb |