neeckeloo / NewRelic

NewRelic module for Laminas
MIT License
33 stars 13 forks source link

Background Job and Route on Console Request #10

Open rcapile opened 10 years ago

rcapile commented 10 years ago

When using console request the route can be a invalid transaction name

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?