Platform.sh supports a number of observability services for optimizing your code. These are third-party services and may have their own associated cost. Also, note that these are often language-specific and may not be available for all languages.
Platform.sh recommends Blackfire.io. Blackfire is a full continuous observability solution (monitoring, profiling, and automated performance testing tool). It can be used on Integration, Staging, and Production environments. Blackfire supports PHP and Python.
Platform.sh supports New Relic APM.
Platform.sh supports Tideways APM for PHP. This functionality is only available on PHP 7.0 and later.