1 Install the New Relic agent as a gem
Select:
Add the gem to your Gemfile:
gem 'newrelic_rpm'
Bundle from your application's directory:
bundle install
Skip to:
Skip to:
New Relic, once installed, will show you your app, server and real user monitoring stats, helping you diagnose and demystify what's happening inside your machines.
We'll poll your server and it'll tell us what's going on — and then we'll show that to you in a dashboard of charts, graphs and data you can combine, hide or rearrange to your heart's content.
Installing the New Relic agent requires that you have administrator access (and you know how to use the command line) and will take between 15 minutes to an hour, depending on your language, framework, operating system and environment.
I'm pretty smart, just show me the steps.
At any point during the installation, additional help is available to get you started (don't worry, these links open in a new browser tab):
If all else fails, try emailing support@newrelic.com and we'll get back to you.
I'm pretty smart, just show me the steps.
At any point during the installation, additional help is available to get you started (don't worry, these links open in a new browser tab):
If all else fails, try emailing support@newrelic.com and we'll get back to you.
I'm pretty smart, just show me the steps.
At any point during the installation, additional help is available to get you started (don't worry, these links open in a new browser tab):
If all else fails, try emailing support@newrelic.com and we'll get back to you.
I'm pretty smart, just show me the steps.
At any point during the installation, additional help is available to get you started (don't worry, these links open in a new browser tab):
If all else fails, try emailing support@newrelic.com and we'll get back to you.
I'm pretty smart, just show me the steps.
At any point during the installation, additional help is available to get you started (don't worry, these links open in a new browser tab):
If all else fails, try emailing support@newrelic.com and we'll get back to you.
Select:
Add the gem to your Gemfile:
gem 'newrelic_rpm'
Bundle from your application's directory:
bundle install
Run this command to install the gem:
sudo gem install newrelic_rpm
Add this line to the initializer block in your environment.rb file:
config.gem 'newrelic_rpm'
Run this command to install the gem:
sudo gem install newrelic_rpm
Add this line to the initializer block in your environment.rb file (or get the agent as a plugin if desired):
require 'newrelic_rpm'
Place this file into your app's config directory, replacing the existing one.
Download the newrelic.yml fileNow that you've tried your app with our agent, within minutes you should see data on New Relic's side.
If you believe you've correctly installed the agent, click the button below and we'll start looking for your data.
Select:
Unzip the file into your app's home directory:
unzip newrelic_agent2.19.1.zip -d /path/to/appserver/
Run the install command from the newrelic directory:
cd /path/to/appserver/newrelic
java -jar newrelic.jar install
For more info please reference our installation docs
Run the install command from the newrelic directory:
cd newrelic
java -jar newrelic.jar install
Data is being collected and you will automatically be upgraded to New Relic PRO for a limited time.
If you believe you've correctly installed the agent, click the button below and we'll start looking for your data.
For 64-bit systems:
Download the (64-bit) .NET agentFor 32-bit systems:
Download the (32-bit) .NET agentWhen prompted for your license key, enter:
c7ae9078eb0aa0b6b746f9205f395ae303387992
If you didn't select the option to restart IIS in the installer, you can manually restart it by opening an administrative command prompt and running:
iisreset
In a few minutes, your application will send data to New Relic and you'll be able to start monitoring your application's performance. You will also be automatically upgraded to New Relic PRO for a limited time.
If you believe you've correctly installed the agent, click the button below and we'll start looking for your data.
Select:
Add the New Relic repository:
[32-bit:]rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm
[64-bit:]
rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
Install the agent:
yum install newrelic-php5
newrelic-install install
Get the key:
wget -O - http://download.newrelic.com/548C16BF.gpg | apt-key add -
Create this file:
/etc/apt/sources.list.d/newrelic.list
Add this line to the file:
deb http://apt.newrelic.com/debian/ newrelic non-free
Install the agent:
apt-get update
apt-get install newrelic-php5
newrelic-install install
Download the latest tarball from: http://download.newrelic.com/php_agent/release
Unzip and install the agent files
gzip -dc newrelic-php5-X.X.X.X-OS.tar.gz | tar xf -
cd newrelic-php5-X.X.X.X
./newrelic-install install
Add your license key to the file you've set up with your New Relic properties: newrelic.ini or php.ini.
You should find the following line and replace "REPLACE_WITH_REAL_KEY" with your key:
newrelic.license="REPLACE_WITH_REAL_KEY"
Your license setting:
newrelic.license="c7ae9078eb0aa0b6b746f9205f395ae303387992"
Stop and Start httpd, nginx, php-fpm, etc.
Data is being collected and you will automatically be upgraded to New Relic PRO for a limited time.
If you believe you've correctly installed the agent, click the button below and we'll start looking for your data.
pip install newrelic
newrelic-admin generate-config c7ae9078eb0aa0b6b746f9205f395ae303387992 newrelic.ini
export NEW_RELIC_CONFIG_FILE=newrelic.ini
newrelic-admin run-program gunicorn wsgi:application
NOTE: If using a different WSGI server see: Self hosted instructions
Data is being collected and you will automatically be upgraded to New Relic PRO for a limited time.
If you believe you've correctly installed the agent, click the button below and we'll start looking for your data.
Your account comes with a 14 day free trial of New Relic Pro. The trial begins once your application starts sending us data, after you’ve followed your language specific installation instructions (located to the left).
Any New Relic account comes with Server Monitoring, free of charge.
Server Monitoring instructionsSkip to: