scout-apm-php
scout-apm-php copied to clipboard
The job named queue:work did not successfully ignore.
Hi, I have a case regarding ignoring transactions for jobs. The job name is queue:work, and as shown in the image below, it still appears in the monitoring.
I have now set the job to ignore as follows: ScoutApm::ignore(); in each job using middleware.
I have also set it in app/Console/kernel.php like this:
protected array $middleware = [ ScoutJobSamplingMiddleware::class, ScoutCommandSamplingMiddleware::class, ];
Both of these middlewares contain the ignore jobs. Do you have any suggestions regarding my issue above?
Responded in Discord, but thanks for the issue. We will take a deeper look when we get the agent logs.