The Scenarios feature is only available to our Premium and Enterprise users.
Blackfire Scenarios builds on Blackfire Tests. Blackfire scenarios are a list of important URLs to profile on a regular basis, like when you deploy your code on a staging environment or in production, when you create a pull-request to add a new feature or fix a bug, ... The idea is to assess the performance of your code and to check its behavior.
Note that scenarios are only able to express HTTP requests, they cannot be used for CLI commands.
Like Blackfire tests, scenarios are defined in the
1 2 3 4 5 6 7 8 9 10 11
scenarios: Pricing page: - /pricing Integrations page: - /integrations Blackfire.yml Validator: - path: /docs/validator method: POST samples: 10
Each section defines a scenario and accept the following settings:
When a scenario is triggered, it generates a report and notifications are sent.
The build report is available from the dashboard under the Builds section. Builds do not have retention, but the profiles stored in a build are subject to the retention policy of your plan.