NewRelic icon indicating copy to clipboard operation
NewRelic copied to clipboard

Background Job and Route on Console Request

Open rcapile opened this issue 10 years ago • 0 comments

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?

rcapile avatar Jun 26 '14 17:06 rcapile