Sha256: 117c3b0fed600884ec1282e027b404bf0ba359692479ccc7275834f4106b22a9

Contents?: true

Size: 475 Bytes

Versions: 39

Compression:

Stored size: 475 Bytes

Contents

# encoding: utf-8

module OneApm
  class Probe
    module Frameworks
      class Ruby < OneApm::Probe

        def env
          @env ||= ENV['ONEAPM_ENV'] ||
                   ENV['RUBY_ENV']   ||
                   ENV['RAILS_ENV']  ||
                   ENV['RACK_ENV']   ||
                   'development'
        end

        def root
          @root ||= ENV['APP_ROOT'] || '.'
        end

        def init_config(options={})
        end

      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
oneapm_rpm-1.4.2 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.4.1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.4.0 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.7 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.7.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.6 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.6.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.5 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.5.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.4 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.4.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.3 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.3.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.2 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.2.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.1.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.0 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.3.0.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.9 lib/one_apm/frameworks/ruby.rb