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.2.9.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.8 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.8.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.7 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.7.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.6 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.6.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.5 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.5.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.4 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.4.rc1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.3 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.3.rc2 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.2 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.2.rc lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.1 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.1.rc lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.2.0 lib/one_apm/frameworks/ruby.rb
oneapm_rpm-1.1.3 lib/one_apm/frameworks/ruby.rb