Sha256: 8e123fa73017723c14a6c03ddc4f6e5632222909bc0f96f613902e04b4aa3ba4

Contents?: true

Size: 722 Bytes

Versions: 29

Compression:

Stored size: 722 Bytes

Contents

# This is so that we don't detect a dispatcher like mongrel and think we are
# monitoring it.
ENV['NEWRELIC_DISPATCHER'] = 'none'

$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), '..','..'))

require 'new_relic/rack_app'

# Valid options which may be present in this binding:
# :license_key   optional license key override
# :app_name      optional name of app
# :logging       optional, false to omit request logging to stdout

# use Rack::CommonLogger unless options[:logging] == false
# use Rack::ShowExceptions
# use Rack::Reloader if ENV['RACK_ENV'] == 'development'

map "/newrelic/record_value" do
  run NewRelic::Rack::MetricApp.new(options)
end

map "/" do
  run NewRelic::Rack::Status.new
end


Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
newrelic_rpm-3.0.1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-3.1.0.beta1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-3.0.0 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-3.0.0.beta2 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-3.0.0.beta1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.14.1.logging1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.14.1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.4.rum6 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.14.0 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.4.rum5 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.6.beta2 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.6.beta1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.4.rum4 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.5.beta4 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.5.beta3 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.5.beta2 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.5.beta1 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.4.eum3 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.4.eum2 lib/new_relic/rack/mongrel_rpm.ru
newrelic_rpm-2.13.4.eum1 lib/new_relic/rack/mongrel_rpm.ru