# Newrelic plugin

**URL:** <https://meta.discourse.org/t/newrelic-plugin/12986>\
**Category:** Plugin\
**Tags:** broken\
**Created:** [23 בפברואר,‏ 2014,‏ 8:28am UTC](https://meta.discourse.org/t/newrelic-plugin/12986 "2014-02-23T08:28:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [24 בפברואר,‏ 2014,‏ 4:36am UTC](https://meta.discourse.org/t/newrelic-plugin/12986/2 "2014-02-24T04:36:53Z")

</div>

For the documentation:

## Installation

Copy this file into  
`plugins/newrelic/plugin.rb`

Retrieve a copy of your `newrelic.yml` file:

> `https://rpm.newrelic.com/accounts/[123456]/newrelic.yml`

Where you need to replace 123456 with the application number you see in your NewRelic interface.

Save this to config/newrelic.yml`

(unless there’s some reason to keep it at the root of the install, as shown above)

Otherwise I’d change that 6th line to:  
`../config/newrelic.yml`

## Activation

The Newrelic gem will be installed the next time bundler is called.

> cd /var/www/discourse (or or where you’ve installed discourse)  
> bundle install --without test --deployment

(is that correct?)

---

_[View the full topic](https://meta.discourse.org/t/newrelic-plugin/12986)._
