NewRelic
NewRelic copied to clipboard
Background Job and Route on Console Request
When using console request the route can be a invalid transaction name
- php index.php do-stuff users
- php index.php do-stuff places
This can lead to different controllers/action but in new relic will only show "do-stuff" on the transaction name
I´m using
$this->getServiceLocator() ->get('NewRelic\Client') ->nameTransaction('/console/[controller]/[action]');
And since is a ConsoleRequest, can it be automatically set as a background job?