I have an existing New Relic account and an existing rails app on Heroku. I am successfully sending data from the Heroku app to New Relic. However I want to see the memory footprint per dyno in New Relic.
All the documentation I could find says to install the add-on via Heroku. I do not want it to provision a new account for me, I just want it to link to my current account. How can I do this? If I already have New Relic installed and working and I add the add-on, will it just link to the account it is already configured for?
There is actually a workaround for this issue now. You can simply change NEW_RELIC_LICENSE_KEY
env var:
$ heroku config:set NEW_RELIC_LICENSE_KEY='<key_of_your_existing_account>'
You find <key_of_your_existing_account>
under Account settings > Summary
(right bar with title Account information
).
After restarting your app, it will show up on your existing account.
You can even customize additional things like:
$ heroku config:set NEW_RELIC_APP_NAME='<nice_name>' NEW_RELIC_LICENSE_KEY='<key>'
I work for New Relic. Unfortunately, what you are asking for is not possible. When you install the New Relic add-on for Heroku, it automatically generates a new account with a unique license key and account ID. One of the bonuses of this is that you get Standard subscription for free if you use the add-on.
If you have further account-related questions, however, you're welcome to write to New Relic support to see if you can work something out with your account manager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With