https://github.com/lance/torquebox-newrelic
Testing newrelic_rpm on TorqueBox
https://github.com/lance/torquebox-newrelic
Last synced: over 1 year ago
JSON representation
Testing newrelic_rpm on TorqueBox
- Host: GitHub
- URL: https://github.com/lance/torquebox-newrelic
- Owner: lance
- Created: 2012-03-08T22:05:48.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-09T17:19:44.000Z (over 14 years ago)
- Last Synced: 2025-02-10T11:48:38.490Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 203 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TorqueBox Test Applications for New Relic
This repository contains simple, bare-bones applications for TorqueBox
with the New Relic agent installed in each.
For Sinatra and Rails 2.3.x applications you'll need to have
`require "newrelic_rpm"` somewhere - prefereably towards the bottom
of your application initialization.
For Rails 3.2 all you need is to have `gem "newrelic_rpm"` in your Gemfile.
## Running the Applications
You can see these applications in action yourself if you like. You'll
just need a few things to get started. I run them in an RVM gemset
with version 2.0.0.cr1 of torquebox-server.
$ rvm jruby-1.6.7@newrelictest --create
....
$ gem install torquebox-server --version=2.0.0.cr1 --pre
....
Run `bundle install` for each application. Then you can deploy them by
running `torquebox deploy [appname]` from the top level directory; run
the server with `torquebox run`.
Be sure to change the license key value in config/newrelic.yml!