Platform.sh supports Tideways APM for PHP. This functionality is only available on PHP 7.0 and later.
Sign up at https://tideways.io and get your license key.
Add your Tideways license key as a project level variable:
platform project:variable:set --no-visible-build php:tideways.api_key <your-license-key>
Enable the Tideways extension in your
.platform.app.yaml as follows:
runtime: extensions: - tideways
Enabling the extension will also activate the Tideways background process.
Push the changes to your Platform.sh environment to enable New Relic as follows:
git add .platform.app.yaml git commit -m "Enable Tideways." git push
Tideways should now be enabled. Give it a few hours to a day to get a decent set of data before checking your Tideways dashboard.
Once Tideways is enabled, an additional environment variable will be available. The
PLATFORM_SMTP_HOST variable will contain the hostname of the Tideways SMTP server should it be needed.