The Scenarios feature is only available to 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 12 13
scenarios: Pricing page: - /pricing Integrations page: - /integrations Blackfire.yml Validator: - path: /docs/validator method: POST samples: 10 headers: accept: "application/json"
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 have a retention policy of 13 months and their profiles are subject to the retention policy of your plan.