Sha256: f4511a6e974b558642b45ab7095fef7992ffc6eb9dad6d2e9a6b59d6166108c9

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

module ProfileIt
end
require 'socket'
require 'set'
require 'net/http'
require 'net/https'
require 'logger'
require 'yaml'
require 'cgi'
require 'securerandom'
require File.expand_path('../profile_it/version.rb', __FILE__)
require File.expand_path('../profile_it/agent.rb', __FILE__)
require File.expand_path('../profile_it/agent/logging.rb', __FILE__)
require File.expand_path('../profile_it/agent/reporting.rb', __FILE__)
require File.expand_path('../profile_it/config.rb', __FILE__)
require File.expand_path('../profile_it/environment.rb', __FILE__)
require File.expand_path('../profile_it/metric_meta.rb', __FILE__)
require File.expand_path('../profile_it/metric_stats.rb', __FILE__)
require File.expand_path('../profile_it/stack_item.rb', __FILE__)
require File.expand_path('../profile_it/store.rb', __FILE__)
require File.expand_path('../profile_it/tracer.rb', __FILE__)
require File.expand_path('../profile_it/profile.rb', __FILE__)

if defined?(Rails) and !defined?(Rails::Console)
  if Rails.respond_to?(:version) and Rails.version >= '3'
    module ProfileIt
      class Railtie < Rails::Railtie
        initializer "profile_it.start" do |app|
          ProfileIt::Agent.instance.start
        end
      end
    end
  else
    ProfileIt::Agent.instance.start
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
profile_it-0.2.9 lib/profile_it.rb
profile_it-0.2.8.1 lib/profile_it.rb
profile_it-0.2.8 lib/profile_it.rb