Sha256: 30d9aff9a01fcf1c8eaf7bf0966419539707ee5d71e360b1e44077ef3a2b1dbc
Contents?: true
Size: 516 Bytes
Versions: 3
Compression:
Stored size: 516 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
3 entries across 3 versions & 1 rubygems