Platform.sh supports New Relic APM.
Sign up at https://newrelic.com and get your license key.
Add your New Relic license key as a project level variable:
platform variable:create --visible-build false php:newrelic.license --value '<your-new-relic-license-key>'
Enable the New Relic extension in your
.platform.app.yaml as follows:
runtime: extensions: - newrelic
Push the changes to your Platform.sh environment to enable New Relic as follows:
git add .platform.app.yaml git commit -m "Enable New Relic." git push
That's it! You need to wait a little bit for your New Relic dashboard to be generated.
Additionally, you can check that your application is properly connected to New Relic by looking at the
platform log app 2017/04/19 14:00:16.706450 (93) Info: Reporting to: https://rpm.newrelic.com/accounts/xxx/applications/xxx 2017/04/19 14:00:16.706668 (93) Info: app 'xxx-master-xxx.app' connected with run id 'xxx'