Sha256: b415318663408f5d2e8ee01c25615d66bb50249352b3a7ff1788accd46782cff
Contents?: true
Size: 512 Bytes
Versions: 18
Compression:
Stored size: 512 Bytes
Contents
require 'new_relic/control/frameworks/ruby' class NewRelic::Control::Frameworks::Sinatra < NewRelic::Control::Frameworks::Ruby def env @env ||= ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development' end # This is the control used when starting up in the context of # The New Relic Infrastructure Agent. We want to call this # out specifically because in this context we are not monitoring # the running process, but actually external things. def init_config(options={}) super end end
Version data entries
18 entries across 18 versions & 2 rubygems