Platform.sh User Documentation

Tideways

Upsun Beta

Access our newest offering - Upsun!

Get your free trial by clicking the link below.

Get your Upsun free trial

Platform.sh supports Tideways APM for PHP. This functionality is only available on PHP 7.0 and later.

Get Started Anchor to this heading

1. Get your license key Anchor to this heading

Sign up at Tideways and get your license key.

2. Add your license key Anchor to this heading

Add your Tideways license key as a project level variable:

platform variable:create --visible-build false php:tideways.api_key --value '<your-license-key>'

3. Enable the Tideways extension Anchor to this heading

Enable the Tideways extension in your .platform.app.yaml as follows:

runtime:
    extensions:
        - tideways

Enabling the extension also activates the Tideways background process.

Push the changes to your Platform.sh environment to enable Tideways 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.

Deployment Integration Anchor to this heading

Tideways integrates with Platform.sh deployment hooks and provides performance comparisons before and after deployments were released. You can find the Platform.sh CLI command to register this hook for your application in Tideways “Application Settings” screen under the section “Exports & Integrations”. Here is an example:

platform integration:add --type=webhook --url="https://app.tideways.io/api/events/external/1234/abcdefghijklmnopqrstuvwxyz1234567890"

Is this page helpful?