This is a Discourse plugin to get your forums reporting performance data to [New Relic][new-relic]. It is meant to be used with the Discourse Docker Image, so installation instructions will follow that route. It was originally written by Sam Saffron, but I've updated the version of the New Relic RPM gem and supplied a newrelic.yml file that will be parsed by ERB.
Assuming you've followed the above instructions for the Discourse Docker image:
- SSH into your forum server as the user running docker (probably root)
cd /var/docker
- Open up
containers/app.yml
- In the
env:
section, addNEW_RELIC_LICENSE_KEY: <your_license_key>
- In the
env:
section, addNEW_RELIC_APP_NAME: <name_of_your_forums>
- In the
hooks
section at the bottom, add the following tocmd:
- git clone https://github.com/davidcelis/new_relic-discourse.git
The next time you bootstrap and start a new container for your forums, it'll start reporting into New Relic! Yay!