New Relic Trial
Folks,
I've enabled new relic on hinv and aprsapi staging, this APM will be very useful digging out performance issues in our app. Kindly react with
:point_up: if you want an account to test on your app.
How to setup on staging:
- SSH to staging machine you're about to enable
- ~ wget https://s3-ap-southeast-1.amazonaws.com/accom-apm/newrelic-java-4.8.0.zip
- ~ unzip newrelic-java-4.8.0.zip && cd newrelic
- ~ vi newrelic.yml and change the licence number to "96642ae5f63c5201ee8203c161740d0d81936012", and application name to "<app-name>-shared-stg"
- ~ sudo mkdir /opt/appd && sudo cp newrelic.jar newrelic.yml /opt/appd
- ~ sudo vi /etc/supervisor/conf.d/<your-app>-embedded.conf and add this " -javaagent:/opt/appd/newrelic.jar" to the JAVA_OPTS
- reload supervisor configurations (run supervisorctl then reload)
- app will be automatically restared
- After 5 minutes or so, see this dashboard (but you need account to do this)
That's it, wish you will be intrigued analyzing deeper part of our application performance.