Laravel Horizon supercharges the Laravel powered Redis queues.
Integrating Blackfire with Laravel queue services lets you monitor your consumers and track individual job processing:
You must, first, enable monitoring on your environment.
Add Blackfire PHP SDK as a dependency in your project (1.27+ version).
The Blackfire PHP SDK provides a Laravel Observable Queue Service Provider that eases collecting and measuring the processing of your jobs.
All Laravel’s service providers are
registered in the
config/app.php configuration file:
1 2 3 4 5
'providers' => [ // Other Service Providers Blackfire\Bridge\Laravel\ObservableJobProvider::class, ],
A transaction name is generated for every processed message given the class name of the job. It allows monitoring of consumers given message types.
Transactions are visible on the Monitoring dashboard page, filtering on