Sha256: 6877f028878bb5f00f75ae60c161b738d016e6e82d772406b293017c76626e54

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

module ScoutRails
end
require 'socket'
require 'set'
require 'net/http'
require File.expand_path('../scout_rails/version.rb', __FILE__)
require File.expand_path('../scout_rails/agent.rb', __FILE__)
require File.expand_path('../scout_rails/layaway.rb', __FILE__)
require File.expand_path('../scout_rails/layaway_file.rb', __FILE__)
require File.expand_path('../scout_rails/config.rb', __FILE__)
require File.expand_path('../scout_rails/environment.rb', __FILE__)
require File.expand_path('../scout_rails/metric_meta.rb', __FILE__)
require File.expand_path('../scout_rails/metric_stats.rb', __FILE__)
require File.expand_path('../scout_rails/stack_item.rb', __FILE__)
require File.expand_path('../scout_rails/store.rb', __FILE__)
require File.expand_path('../scout_rails/tracer.rb', __FILE__)
require File.expand_path('../scout_rails/instruments/process/process_cpu.rb', __FILE__)
require File.expand_path('../scout_rails/instruments/process/process_memory.rb', __FILE__)

if defined?(Rails) and Rails.respond_to?(:version) and Rails.version =~ /^3/
  module ScoutRails
    class Railtie < Rails::Railtie
      initializer "scout_rails.start" do |app|
        ScoutRails::Agent.instance.start
      end
    end
  end
else
  ScoutRails::Agent.instance.start
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scout_rails-0.0.3.pre lib/scout_rails.rb
scout_rails-0.0.2 lib/scout_rails.rb
scout_rails-0.0.1 lib/scout_rails.rb