digiaonline / lumen-newrelic

New Relic instrumentation for the Lumen framework
MIT License
28 stars 21 forks source link

Unable to see the transaction name in New Relic #17

Closed bionimic closed 4 years ago

bionimic commented 4 years ago

Hi, I have followed the guidelines to setup this into my project. Unfortunately I cant see it in my new relic. Do I have to setup anything other than what you have written in readme.md?

Supposedly I can see the transaction name under transaction list right?

Screen Shot 2020-03-03 at 3 52 38 PM

Or I mistakenly misunderstood the purpose of this package. Please help. Thanks

Jalle19 commented 4 years ago

What are you seeing instead of transaction names? The screenshot you posted clearly has named transactions.

bionimic commented 4 years ago

based on the text: "By default the transaction name will use the controller@action assigned to the route."

I thought I would see like ActorController@index something like that in the new relic

Do I need to add anything in the web.php? I am using version 1.1.0 due to my php version is 7.0 atm.

Jalle19 commented 4 years ago

What do you see instead? /index.php?

bionimic commented 4 years ago

Screen Shot 2020-03-04 at 6 46 35 AM

Screen Shot 2020-03-04 at 6 46 51 AM

why do I see a lot of unknown transactions?

I dont even see the /index.php. where should I see that actually?

can you show some example in your new relic screen? thanks

Jalle19 commented 4 years ago

You can mark the artisan transactions as background jobs (see the README). Unfortunately I can't show my New Relic dashboards, but for the most parts your transactions seem to be named already. The naming scheme can vary a bit depending on how you've configured your routes.

bionimic commented 4 years ago

It's ok. I can see it now in the detail section of the transaction. thank you for replying my messages!