Capture and profile requests using Blackfire

Blackfire is a profiling tool and can be used to identify bottlenecks or areas of high resource consumption for your PHP application.

As with any profiling tool this package can have a slight impact on the performance of your website. We recommend you only enable Blackfire for your non-Production environments.

To install Blackfire for your UAT environment only, add the following configuration to your .platform.yml file:

        server_id: "<server ID>"
        server_token: "<server token>"

Your server ID and token are validated during a full deployment, and incorrect credentials may cause the deployment to fail.

Once the deployment is completed you can enable profiling within Blackfile and requests will start to appear.

Was this answer helpful? Yes No

Sorry we couldn't be helpful. Help us improve this article with your feedback.