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

Version Path
newrelic_rpm-2.13.4.rum6 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.4.rum5 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.6.beta2 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.6.beta1 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.4.rum4 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.5.beta4 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.5.beta3 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.5.beta2 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.5.beta1 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.4.eum3 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.4.eum2 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.4.eum1 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.4 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.3 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.3.beta lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.2 lib/new_relic/control/frameworks/sinatra.rb
honkster-newrelic_rpm-2.13.1 lib/new_relic/control/frameworks/sinatra.rb
newrelic_rpm-2.13.1 lib/new_relic/control/frameworks/sinatra.rb