HerokuでNew relicを使う
New RelicをHerokuに入れた時のメモ
https://devcenter.heroku.com/articles/newrelic#compatibility-and-requirements
https://docs.newrelic.com/docs/agents/php-agent/advanced-installation/php-agent-heroku
のとおりにすすめるだけ
toolbeltかweb UIからエージェントを入れる
環境変数を設定する
heroku config:set NEW_RELIC_APP_NAME='MY_APP_NAME'
デプロイする
code:build log
-----> Preparing runtime environment...
-----> Checking for additional extensions to install...
- New Relic detected, installed ext-newrelic
はいってそう
New RelicのTimezoneを変更するでGMT+09:00にしておく
参考
Heroku で監視ツール使うなら New Relic が良さそう - Feedforce Developer Blog