Sha256: bf1d3ee7a030c560df07c5d9561485d28089624d8e8369f979ba4380f45be0a4
Contents?: true
Size: 624 Bytes
Versions: 16
Compression:
Stored size: 624 Bytes
Contents
require 'new_relic/control/frameworks/ruby' module NewRelic class Control module Frameworks class 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 end end end
Version data entries
16 entries across 16 versions & 2 rubygems