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